export interface CSSWriterOptions {
    /** Enable source comments in output (e.g., "from: Button.tsx") */
    devMode?: boolean;
}
export declare class CSSWriter {
    private cssBlocks;
    private outputPath;
    private devMode;
    constructor(outputPath: string, options?: CSSWriterOptions);
    /**
     * Add CSS block with deduplication key
     * @param key - Unique key for deduplication
     * @param css - CSS content
     * @param source - Optional source file path (used in devMode)
     */
    add(key: string, css: string, source?: string): void;
    /**
     * Check if a key already exists
     */
    has(key: string): boolean;
    /**
     * Get the number of CSS blocks
     */
    get size(): number;
    /**
     * Write all collected CSS to the output file
     */
    write(): void;
    /**
     * Get all CSS as string (for testing or in-memory use)
     */
    getCSS(): string;
    /**
     * Clear all collected CSS
     */
    clear(): void;
    /**
     * Get the output path
     */
    getOutputPath(): string;
}
