import { postcss } from "opticss"; import { DefinitionAST, DefinitionRoot, GlobalDeclaration, Rule } from "../../BlockParser/ast"; import { Block, Style } from "../../BlockTree"; import { ResolvedConfiguration } from "../../configuration"; import { PathResolver } from "./CompiledDefinitionMapper"; export { PathResolver } from "./CompiledDefinitionMapper"; export declare const INLINE_DEFINITION_FILE: unique symbol; export declare class BlockDefinitionCompiler { postcss: typeof postcss; config: ResolvedConfiguration; pathResolver: PathResolver; constructor(postcssImpl: typeof postcss, pathResolver: PathResolver, config: ResolvedConfiguration); compile(block: Block, reservedClassNames: Set): postcss.Root; globalDeclarations(block: Block): Array; compileToAST(block: Block, reservedClassNames: Set): DefinitionRoot; styleToRule(style: Style, reservedClassNames: Set): Rule; /** * The complex compositions which apply to the intersection of more than one * attribute require the generation of ruleset that targets all of those * attributes together. * * Note: Simple compositions (which apply to a single block class or * attribute) are processed when we generate the rule for that style. */ complexCompositions(block: Block): Array>; insertBlockDefinitionURLComment(css: postcss.Root, definitionPath: string): void; insertInlineBlockDefinitionURLComment(css: postcss.Root, definition: postcss.Root): void; } //# sourceMappingURL=index.d.ts.map