/** * Capture Agent — Alt Text Generation * * Generates accessible alt text for captured screenshots. * Adapts to the variant's locale for localized descriptions. * Cost: ~0.001 EUR per generation. */ import { type LLMProviderConfig, type LLMCallResult } from './llm-provider.js'; export interface AltTextResult { altText: string; llmResult?: LLMCallResult; } export interface AltTextContext { /** What the screenshot captures */ description: string; /** Target URL */ url: string; /** Locale for the alt text language */ locale?: string; /** Page/preset name */ presetName?: string; } /** * Generates alt text for a screenshot, localized to the variant's language. */ export declare function generateAltText(screenshot: Buffer, context: AltTextContext, llmConfig: LLMProviderConfig): Promise;