import { FileRepository } from '@amityco/ts-sdk-react-native';
type UploadImageParams = Parameters<typeof FileRepository.uploadImage>;
type UploadImagePayload = {
    file: UploadImageParams[0];
    onProgress?: UploadImageParams[1];
    altText?: UploadImageParams[2];
};
type UploadSingleImageParams = {
    file: string;
    onProgress?: UploadImagePayload['onProgress'];
    altText?: UploadImagePayload['altText'];
};
export declare function useUpload(): {
    uploadImage: ({ file, onProgress, altText, }: UploadSingleImageParams) => Promise<{
        data: Amity.File<"image">[];
    } & {
        cachedAt: Amity.CacheOptions["cachedAt"];
    }>;
    isImageUploading: boolean;
};
export {};
//# sourceMappingURL=useUpload.d.ts.map