export declare function isDataUrl(url: string): boolean; export declare function makeDataUrl(content: string, mimeType: string): string; export declare function fetchAsDataURL(url: string, process: (data: { result: string; res: any; }) => T): Promise; export declare function resourceToDataURL(resourceUrl: string, contentType: string | undefined, placeholder?: string): Promise;