import type { VeryfrontConfig } from "../../config/index.js"; import type { HTMLGenerationOptions } from "../../html/index.js"; import { getProjectCSS } from "../../html/styles-builder/index.js"; import { warmPreparedCSSArtifactFromFiles } from "../../html/styles-builder/css-pregeneration.js"; import { resolveStyleContentVersion } from "../../html/styles-builder/content-version.js"; import { createStyleScopeProfile } from "../../html/styles-builder/style-scope-profile.js"; import type { RuntimeAdapter } from "../../platform/adapters/base.js"; import { getProjectCandidates } from "./css-candidate-manifest.js"; import type { HTMLGenerationContext } from "./html-types.js"; export type ProjectCSSResult = Awaited> | null; interface ProjectCssConfig { projectDir: string; adapter: RuntimeAdapter; config: VeryfrontConfig; mode: "development" | "production"; } interface ProjectCssDeps { createStyleScopeProfile?: typeof createStyleScopeProfile; getProjectCSS?: typeof getProjectCSS; getProjectContentVersion?: (config: Pick) => string | undefined; getProjectCandidates?: typeof getProjectCandidates; resolveStyleContentVersion?: typeof resolveStyleContentVersion; warmPreparedCSSArtifactFromFiles?: typeof warmPreparedCSSArtifactFromFiles; } export declare function buildRouteManifestKey(pagePath: string, projectDir: string): string; export declare function getProjectContentVersion(config: Pick, deps?: Pick): string | undefined; export declare function startProjectCSSPreparation(context: HTMLGenerationContext, htmlOptions: HTMLGenerationOptions, deps?: Pick): Promise | undefined; export declare function startPreparedCSSWarmup(config: ProjectCssConfig, context: HTMLGenerationContext, htmlOptions: HTMLGenerationOptions, deps?: Pick): void; export declare function extractProjectClassesForRoute(config: ProjectCssConfig, context: HTMLGenerationContext, _appComponentPath?: string, deps?: Pick): Promise>; export {}; //# sourceMappingURL=html-project-css.d.ts.map