/** * Minimal OpenAI config modal for browser apps (Bootstrap style) * ESM, browser-only, no dependencies */ export interface StoredConfig { baseUrl: string; apiKey: string; } export interface BaseUrlOption { url: string; name: string; } export type FetchModels = (baseUrl: string, apiKey: string) => Promise; export interface ConfigOptions { storage?: Storage; key?: string; defaultBaseUrls?: string[]; baseUrls?: BaseUrlOption[]; show?: boolean; title?: string; baseUrlLabel?: string; apiKeyLabel?: string; buttonLabel?: string; fetchModels?: FetchModels; help?: string; } export interface ConfigState extends StoredConfig { baseURL: string; models: string[]; } export interface ResolvedConfigOptions { storage: Storage; key: string; defaultBaseUrls: string[]; baseUrls?: BaseUrlOption[]; show: boolean; title: string; baseUrlLabel: string; apiKeyLabel: string; buttonLabel: string; fetchModels: FetchModels; help: string; } export declare const openaiConfig: (options?: ConfigOptions) => Promise; export declare const geminiConfig: (options?: ConfigOptions) => Promise; //# sourceMappingURL=bootstrap-llm-provider.d.ts.map