import { HttpResponse, HttpResponseList } from '../../types';
import { IPicFolderTree, IPictureListEditItem, IPictureListItem } from './type';

export declare const uploadApi: (params: any) => Promise<any>;
export declare const saveSaveImgApi: (params: Partial<IPictureListEditItem>) => any;
export declare function saveFolderApi(params: Partial<IPicFolderTree>): any;
export declare const getImgListApi: (params: {
    /**
     * 父id
     */
    parentId: number | string;
    /**
     * 模糊匹配关键字(图片/文件夹名称)
     */
    keywords?: string;
    /**
     * 排序方式
     */
    seq: 1 | 2 | 3 | 4;
}) => Promise<HttpResponseList<IPictureListItem>>;
export declare const editSaveImgApi: (params: IPictureListEditItem) => any;
export declare const delSaveImgApi: (params: {
    id: number | string;
    type: number;
}) => any;
export declare const getOptionApi: () => Promise<HttpResponse<IPicFolderTree>>;
export declare function renameFolderApi(params: {
    name: string;
    id: string;
}): any;
export declare function moveImgAndFolderApi(params: {
    ids: (string | number)[];
    parentId: (string | number);
}): any;
