import type { UploadProps } from './_internal'; import type { CropMediaType, IUploadTempSource, PickerType } from './interface'; export interface BasicUploadOptions extends Partial> { /** * pickerType 为crop* mediaType */ cropMediaType?: CropMediaType; /** * 已经上传过的文件数量 */ currentCount?: number; /** * 压缩开始时的回调 * @returns */ onStartCompress?: () => void; } /** * crop 文件选择 * @param _options * @returns */ export declare function openCropPicker(_options: BasicUploadOptions): Promise; /** * crop相机拍照 * @param _options * @returns */ export declare function openCropCamera(_options: BasicUploadOptions): Promise; /** * 文档选择 * @param options * @returns */ export declare function openDocumentPicker(options: BasicUploadOptions): Promise<(IUploadTempSource | import("react-native-document-picker").DocumentPickerResponse)[]>; /** * 特定相机拍照UI * @param options * @returns */ export declare function openVisionCamera(options: BasicUploadOptions): Promise; export declare const composedPicker: { [key in PickerType]: (config: BasicUploadOptions) => Promise; }; //# sourceMappingURL=picker.d.ts.map