import { TemplateAnalysis , TemplateIntegrationOptions , TemplateTypes } from "@opticss/template-api" ; import { ParsedCssFile } from "../CssFile" ; import { OptiCSSOptions } from "../OpticssOptions" ; import { OptimizationPass } from "../OptimizationPass" ; import { initKnownIdents } from "./initKnownIdents" ; export type Initializer = ( pass : OptimizationPass , analyses : Array < TemplateAnalysis < keyof TemplateTypes > > , files : Array < ParsedCssFile > , options : OptiCSSOptions , templateOptions : TemplateIntegrationOptions ) => void ; export interface Initializers { initKnownIdents : Initializer ; } export const initializers = { initKnownIdents , } ;