import { MaizzleConfig } from "../types/config.js";
import { ChildNode } from "domhandler";

//#region src/transformers/tailwindcss.d.ts
/**
 * Tailwind CSS transformer.
 *
 * Compiles CSS inside <style> tags in the DOM using
 * @tailwindcss/postcss, then lowers modern CSS syntax with lightningcss.
 *
 * Configures Tailwind sources to scan:
 * - Rendered class attributes (via `@source inline`) for all classes from all components
 * - User project files (via Tailwind's auto-detection from base/from path)
 *
 * User `@source` and `@source not directives` in style tags are preserved.
 * Source directives are only added to style tags that import Tailwind.
 *
 * Runs as the first transformer in the pipeline so that subsequent
 * transformers (inliner, purge, etc.) work with fully compiled CSS.
 */
declare function tailwindcss(dom: ChildNode[], config: MaizzleConfig, filePath?: string): Promise<ChildNode[]>;
//#endregion
export { tailwindcss };
//# sourceMappingURL=tailwindcss.d.ts.map