import { AxiosResponse } from 'axios';
import { BglFile, BglFilePatch, UploadOptions } from './upload.types.d.ts';
export declare function createUploadApi(options?: {
    baseURL?: string;
}): void;
export declare const files: {
    get: (pathKey?: string) => Promise<AxiosResponse<BglFile>>;
    put: (bglFilePatch: BglFilePatch, pathKey?: string) => Promise<AxiosResponse<BglFile>>;
    delete: (pathKey?: string) => Promise<AxiosResponse<any, any>>;
    upload: (file: File, options?: UploadOptions & {
        dirPath?: string;
        tags?: string[];
    }) => Promise<AxiosResponse<BglFile>>;
    list: (dirPath?: string) => Promise<AxiosResponse<BglFile[]>>;
};
//# sourceMappingURL=upload.d.ts.map