interface Props {
    onSuccess: (response?: any) => void;
}
interface UploadFileProps {
    file: File;
    appId: string;
    consumerId: string;
    serviceId: string;
    folderId: string | null;
    jwt: string;
}
export declare const useUpload: ({ onSuccess }: Props) => {
    uploadFile: ({ file, appId, consumerId, serviceId, folderId, jwt }: UploadFileProps) => Promise<void>;
    isLoading: boolean;
    progress: number | null;
};
export {};
