import type { Nullable } from '../../../typings/utility-types.js';
import type { FileUploaderAttachedFile } from '../fileUtils.js';
export declare const useUpload: (request: Nullable<(file: FileUploaderAttachedFile) => Promise<void>>, onRequestSuccess?: Nullable<(fileId: string) => void>, onRequestError?: Nullable<(fileId: string) => void>) => ((file: FileUploaderAttachedFile) => Promise<void>);
