/** * A compiled stylesheet in the serialized form `@angular/ssr` reads from the * app manifest's `criticalCssPlans`. */ export type CriticalCssPlan = unknown[]; export interface BeastiesCompiler { compileSheet(css: string, options: { href: string; }): unknown; encodePlan(sheet: unknown): CriticalCssPlan; } export interface BeastiesRuntime { createProcessor(plans: CriticalCssPlan[], options: { preload: 'media-script'; preloadFonts: boolean; inlineFonts: boolean; noscriptFallback: boolean; cache: boolean; logger: { warn: (message: string) => void; }; }): { process(html: string, options: { nonce: string | undefined; }): string; }; } /** * Loads an entry point of the beasties copy `@angular/build` (>= 22.2) * depends on, so the plans compiled at build time and the runtime applying * them during prerendering come from the same version. */ export declare function loadAngularBuildBeasties(entryPoint: 'compiler'): Promise; export declare function loadAngularBuildBeasties(entryPoint: 'runtime'): Promise; //# sourceMappingURL=beasties.d.ts.map