export declare const limitImageMb = 20;
export declare const limitGifMb = 10;
export declare const limitFileMb = 500;
export declare const limitGifSize: number;
export declare const limitImageSize: number;
export declare const limitFileSize: number;
export declare const handleLocalMedia: (path: string) => Promise<false | {
    type: string;
    compressFile: any;
    dataset: {
        localPath: any;
        width: any;
        height: any;
        name: any;
        objectId: any;
        ext: any;
        size: any;
        isOrigin: any;
        duration?: undefined;
        poster?: undefined;
        posterFullPath?: undefined;
    };
} | {
    type: string;
    dataset: {
        size: any;
        name: string;
        ext: any;
        duration: any;
        poster: any;
        localPath: any;
        objectId: any;
        posterFullPath: any;
        width?: undefined;
        height?: undefined;
        isOrigin?: undefined;
    };
    compressFile?: undefined;
} | {
    type: string;
    dataset: {
        localPath: any;
        size: any;
        name: string;
        ext: any;
        objectId: any;
        width?: undefined;
        height?: undefined;
        isOrigin?: undefined;
        duration?: undefined;
        poster?: undefined;
        posterFullPath?: undefined;
    };
    compressFile?: undefined;
} | undefined>;
export declare const handleImageMedia: (source: File | string, isOrigin?: boolean) => Promise<false | {
    type: string;
    compressFile: any;
    dataset: {
        localPath: any;
        width: any;
        height: any;
        name: any;
        objectId: any;
        ext: any;
        size: any;
        isOrigin: any;
        duration?: undefined;
        poster?: undefined;
        posterFullPath?: undefined;
    };
} | {
    type: string;
    dataset: {
        size: any;
        name: string;
        ext: any;
        duration: any;
        poster: any;
        localPath: any;
        objectId: any;
        posterFullPath: any;
        width?: undefined;
        height?: undefined;
        isOrigin?: undefined;
    };
    compressFile?: undefined;
} | {
    type: string;
    dataset: {
        localPath: any;
        size: any;
        name: string;
        ext: any;
        objectId: any;
        width?: undefined;
        height?: undefined;
        isOrigin?: undefined;
        duration?: undefined;
        poster?: undefined;
        posterFullPath?: undefined;
    };
    compressFile?: undefined;
}>;
export declare const handleFileMedia: (source: File | string, isVideoFile?: boolean) => Promise<false | {
    type: string;
    compressFile: any;
    dataset: {
        localPath: any;
        width: any;
        height: any;
        name: any;
        objectId: any;
        ext: any;
        size: any;
        isOrigin: any;
        duration?: undefined;
        poster?: undefined;
        posterFullPath?: undefined;
    };
} | {
    type: string;
    dataset: {
        size: any;
        name: string;
        ext: any;
        duration: any;
        poster: any;
        localPath: any;
        objectId: any;
        posterFullPath: any;
        width?: undefined;
        height?: undefined;
        isOrigin?: undefined;
    };
    compressFile?: undefined;
} | {
    type: string;
    dataset: {
        localPath: any;
        size: any;
        name: string;
        ext: any;
        objectId: any;
        width?: undefined;
        height?: undefined;
        isOrigin?: undefined;
        duration?: undefined;
        poster?: undefined;
        posterFullPath?: undefined;
    };
    compressFile?: undefined;
} | undefined>;
export default handleLocalMedia;
