UNPKG

@angular/build

Version:

Official build system for Angular

26 lines (25 loc) 801 B
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ export interface InlineCriticalCssProcessOptions { outputPath: string; } export interface InlineCriticalCssProcessorOptions { minify?: boolean; deployUrl?: string; readAsset?: (path: string) => Promise<string>; autoCsp?: boolean; } export declare class InlineCriticalCssProcessor { protected readonly options: InlineCriticalCssProcessorOptions; constructor(options: InlineCriticalCssProcessorOptions); process(html: string, options: InlineCriticalCssProcessOptions): Promise<{ content: string; warnings: string[]; errors: string[]; }>; }