import { Template } from '@bluepic/types';
export declare const cssFontsCache: Map<string, string>;
export declare const imagesCache: Map<string, {
    data: Uint8Array<ArrayBuffer>;
    contentType: string | null;
}>;
export declare function textIsInUnicodeRange(text: string, unicodeRange: string): boolean;
export declare function resolveCSSFontFile(src: string, updateHook: (stepsDone: number, stepsTotal: number) => void, textToCover: string, useCache?: boolean, assetProxyTemplate?: string): Promise<string>;
export declare function resolveImage(image: SVGImageElement, updateHook: (progress: number) => void, assetProxyTemplate?: string): Promise<void>;
export declare function exportSVGDocument(svg: string, fonts: Template.Font[], progressHook: (progress: number) => void, assetProxyTemplate?: string): Promise<Document>;
