import { Ref } from 'vue';
import { ImageMime, UploadConfig, UploadResult, BluepicField } from '@bluepic/types';
export declare function useUpload(width: Ref<number | undefined>, height: Ref<number | undefined>, convertTo: Ref<ImageMime | undefined>, quality: Ref<number | undefined>, handleUpload: (opts: UploadConfig) => Promise<UploadResult>, field: Ref<BluepicField | undefined>): {
    uploading: Ref<boolean, boolean>;
    uploadProgresses: Ref<number[], number[]>;
    uploadFiles: (files: File[]) => Promise<UploadResult[]>;
};
