import type { StoryContext } from './types';
/**
 * Check if Crosswind is available
 */
export declare function isCrosswindAvailable(root: string): Promise<boolean>;
/**
 * Load Crosswind CSS
 */
export declare function loadCrosswindCSS(ctx: StoryContext, options?: CrosswindOptions): Promise<string>;
/**
 * Generate style tag with Crosswind CSS
 */
export declare function generateCrosswindStyleTag(ctx: StoryContext, options?: CrosswindOptions): Promise<string>;
/**
 * Extract used utility classes from HTML
 */
export declare function extractUsedClasses(html: string): string[];
/**
 * Generate optimized CSS with only used classes
 */
export declare function generateOptimizedCSS(fullCSS: string, usedClasses: string[]): string;
/**
 * Crosswind CSS options
 */
export declare interface CrosswindOptions {
  cssPath?: string
  includeReset?: boolean
  includeBase?: boolean
}
