File size: 469 Bytes
c211499
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import { Options } from './types';
export declare function isDataUrl(url: string): boolean;
export declare function makeDataUrl(content: string, mimeType: string): string;
export declare function fetchAsDataURL<T>(url: string, init: RequestInit | undefined, process: (data: {
    result: string;
    res: Response;
}) => T): Promise<T>;
export declare function resourceToDataURL(resourceUrl: string, contentType: string | undefined, options: Options): Promise<string>;