export type ApiKeyName = "openai" | "huggingface" | "pexels"; /** * Read a stored API key. Returns undefined when none is saved. * The key store is cached after first load. */ export declare function getStoredApiKey(name: ApiKeyName): string | undefined; /** * Persist an API key. Trims whitespace; throws if empty. */ export declare function setStoredApiKey(name: ApiKeyName, key: string): void; /** * Convenience: env var first, then the stored value. The order matches * how the vision modules already work — they default to the env var, * and now they get a sensible fallback when it's not set. */ export declare function resolveApiKey(envVar: string, name: ApiKeyName): string | undefined; export declare const API_KEYS_FILE: string; //# sourceMappingURL=api-keys.d.ts.map