import { BaseTokenAdapter, TokenRegistry } from '../../types/token-types';
/**
 * Adapter for extracting design tokens from Tailwind CSS v4 configurations.
 * Parses @theme blocks in CSS files and extracts custom properties as tokens.
 */
export declare class TailwindCSSTokenAdapter implements BaseTokenAdapter {
    detect(projectRoot: string): boolean;
    extract(projectRoot: string, configPath?: string): TokenRegistry | null;
    getFramework(): string;
    /**
     * Returns the path to the CSS file containing @theme.
     * If configPath is provided but doesn't contain @theme, falls back to auto-discovery.
     */
    getConfigPath(projectRoot: string, configPath?: string): string | null;
    /** Checks whether CSS content contains an @theme block */
    private containsThemeBlock;
    /** Finds CSS files in common project locations */
    private findCSSFiles;
    /** Finds the first CSS file containing an @theme block */
    private findThemeFile;
    /** Extracts all CSS custom properties from @theme blocks */
    private extractThemeProperties;
    /**
     * Builds a TokenRegistry from extracted CSS custom properties.
     * Groups properties by prefix into categories, and nests related properties
     * (e.g., --color-gray-50 and --color-gray-500 become colors.gray: { '50': ..., '500': ... })
     */
    private buildTokenRegistry;
    /**
     * Maps a CSS custom property name to a registry category and token path.
     * Returns null if the property doesn't match any known prefix.
     */
    private categorizeProperty;
}
//# sourceMappingURL=TailwindCSSTokenAdapter.d.ts.map