securityos/node_modules/html-to-image/lib/embed-resources.d.ts

6 lines
454 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import { Options } from './types';
export declare function parseURLs(cssText: string): string[];
export declare function embed(cssText: string, resourceURL: string, baseURL: string | null, options: Options, getContentFromUrl?: (url: string) => Promise<string>): Promise<string>;
export declare function shouldEmbed(url: string): boolean;
export declare function embedResources(cssText: string, baseUrl: string | null, options: Options): Promise<string>;