import { CompilerContext } from "../../contexts/compiler.js"; import { Specifier } from "../../@types/specifier.js"; import { Program } from "oxc-parser"; /** * Options for the `preprocess` function. */ type PreprocessOptions = { /** * Compiler context. */ context: CompilerContext; /** * Program to preprocess. */ program: Program; /** * Namespaces used by the CSS-in-JS package. */ namespaces: readonly string[]; /** * CSS-in-JS package functions to be preprocessed. */ includedFunctions: readonly string[]; /** * Specifiers used by the CSS-in-JS package. */ specifiers: readonly Specifier[]; }; /** * Result of the `preprocess` function. */ type PreprocessResult = { program: Program; }; /** * Preprocess function. */ declare const preprocess: (options: PreprocessOptions) => PreprocessResult; export { type PreprocessOptions, type PreprocessResult, preprocess }; //# sourceMappingURL=index.d.ts.map