/** * Simple environment variable loader for browser-based examples * In production, use proper environment variable handling */ export interface EnvConfig { DEEPL_API_KEY?: string; GOOGLE_CLOUD_API_KEY?: string; CUSTOM_TRANSLATION_ENDPOINT?: string; DEFAULT_LANGUAGE?: string; AUTO_TRANSLATE?: boolean; PRESERVE_ORIGINAL_TEXT?: boolean; } export declare function loadEnvConfig(): EnvConfig; export declare function saveEnvConfig(config: Partial): void; export declare function getApiKey(provider: string): string | undefined; export declare function getTranslationApiConfig(provider: string): { provider: "deepl"; apiKey: string | undefined; endpoint?: undefined; } | { provider: "google-cloud"; apiKey: string | undefined; endpoint?: undefined; } | { provider: "custom"; endpoint: string | undefined; apiKey?: undefined; } | null; export declare function hasValidApiConfig(): boolean;