import { AREA_MAP } from './config';
import type { IPurgeType, IPurgeMethod } from '../eo/type';
export declare function uploadCOSFileAndPurgeUrlCache({ secretId, secretKey, bucket, region, files, area, useEO, eoOptions, }: {
    secretId: string;
    secretKey: string;
    bucket: string;
    region: string;
    files: Array<{
        key: string;
        path: string;
        url: string;
    }>;
    area?: (typeof AREA_MAP)[keyof typeof AREA_MAP];
    useEO?: boolean;
    eoOptions?: {
        zoneId: string;
        type?: IPurgeType;
        method?: IPurgeMethod;
    };
}): Promise<{
    uploadResult: any;
    purgeResult: any;
    code: 1 | 2;
}>;
