import { Template } from '@bluepic/types';
export type CloudlfareImage = {
    id: string;
    filename: string;
    uploaded: string;
    variants: string[];
    requireSignedURLs: boolean;
    meta?: {
        [key: string]: unknown;
    };
};
export declare function parseCloudflareImagesDeliveryUrl(src: string): {
    scopeId: string;
    imageId: string;
    variant: string;
};
export declare function uploadImage(apiBaseUrl: string, templateId: string, context: {
    field?: Template.Fields.BluepicField;
}, blob: Blob, name: string, onUploadProgress: (uploaded: number, total: number) => void): Promise<{
    key: string;
    type: string;
    url: string;
    uploadedAt: string;
}>;
