import { UploadFile as AntdUploadFile } from 'antd/es/upload/interface';
import type { UploadValue, UploadChangeHandler } from './types';
export interface UploadFile extends AntdUploadFile {
    metadata?: {
        width?: number;
        height?: number;
        duration?: number;
        bitrate?: number;
    };
}
export interface UploadProps {
    renderMode?: string;
    fieldKey: string;
    maxSize?: number;
    minCount?: number;
    maxCount?: number;
    multiple?: boolean;
    presetType?: string[];
    customType?: string[];
    enablePresetType?: boolean;
    enableCustomType?: boolean;
    allowPreview?: boolean;
    value?: UploadValue;
    typeMaxSizeMap?: Record<string, number>;
    enableMultilingual?: boolean;
    onChange?: UploadChangeHandler;
    disabled?: boolean;
    mediaUploadUrl?: string;
    getHeaders?: () => Record<string, string>;
    mediaConfig?: {
        data: {
            upload_onetime_limit: number;
            upload_maxsize: number;
        };
    };
}
