/**
 * @file useAiOptimization.ts
 * Hook for AI-powered component optimization
 */
export interface AiOptimizationConfig {
    component: string;
    enabled?: boolean;
    optimizationLevel?: 'low' | 'medium' | 'high';
}
export interface InteractionData {
    action: string;
    timestamp: number;
    context?: Record<string, any>;
}
export interface OptimizedProps {
    'data-ai-optimized'?: string;
    style?: React.CSSProperties;
}
/**
 * Hook for AI-powered component optimization
 */
export declare function useAiOptimization(config: AiOptimizationConfig): {
    optimizedProps: OptimizedProps;
    performanceScore: number;
    recordInteraction: (data: InteractionData) => void;
    isOptimizing: boolean;
};
declare global {
    interface Window {
        Drupal?: {
            llmAI?: {
                reportOptimization: (data: any) => void;
                recordInteraction: (data: any) => void;
            };
        };
    }
}
//# sourceMappingURL=useAiOptimization.d.ts.map