import type { UploadOptions, UploadResult } from '../../../typings/admin/comm/upload';
/**
 * 云端直传：向服务端取签名 → 直传对象存储
 * 需已安装 hook=upload 插件；配置错误由插件/接口直接抛错
 */
export declare function useUpload(): {
    toUpload: (file: File, opts?: UploadOptions) => Promise<UploadResult>;
};
