next
Version:
The React Framework
10 lines (9 loc) • 318 B
TypeScript
declare type postProcessOptions = {
optimizeFonts: boolean;
optimizeImages: boolean;
};
declare type renderOptions = {
getFontDefinition?: (url: string) => string;
};
declare function processHTML(html: string, data: renderOptions, options: postProcessOptions): Promise<string>;
export default processHTML;