/** * The **Theme Optimizer** — intelligently adjusts the current theme toward goals * like accessibility, contrast, spacing or reduced visual noise. Like the * modifier, it merges a validated delta onto the current theme. * * @packageDocumentation */ import type { GeneratedTheme, ThemeGenerationResult, ThemeOptimizeOptions } from '../../types/theme-ai.types'; import { ThemeLlmClient } from './theme-llm-client'; import type { ThemePromptBuilder } from './theme-prompt-builder'; import type { ThemeValidator } from './theme-validator'; /** Optimizes the current theme toward the requested goals. */ export declare class ThemeOptimizer { private readonly client; private readonly prompts; private readonly validator; constructor(client: ThemeLlmClient, prompts: ThemePromptBuilder, validator: ThemeValidator); /** Optimize `current` per `options` (accessibility/contrast/spacing/…). */ optimize(options: ThemeOptimizeOptions, current: GeneratedTheme | null, signal?: AbortSignal): Promise; } //# sourceMappingURL=theme-optimizer.d.ts.map