import { postcss } from "opticss"; import { Block } from "../../BlockTree"; import { Configuration } from "../../configuration"; /** * Traverse a definition file's rules and define a preset block-class for each * rule present. This ensures the block uses the same CSS class as defined in * the linked Compiled CSS file associated with this definition file. * * If a given rule does not have a block-class declared, an error is added to * the block for the user to correct. * * This should only be run on definition files! Standard block files aren't * allowed to define block-class rules. * * @param configuration - The current CSS Blocks configuration. * @param root - The root of the AST that this block was generated from. * @param block - The block that's being generated. * @param file - The definition file this block was generated from. */ export declare function addPresetSelectors(configuration: Configuration, root: postcss.Root, block: Block, file: string): void; //# sourceMappingURL=add-preset-selectors.d.ts.map