import type { Api, Model } from "@earendil-works/pi-ai"; import type { StorageNamespace } from "./context"; export type ThinkingLevel = "none" | "low" | "medium" | "high"; export interface ProviderConfig { provider: string; apiKey: string; model: string; useProxy: boolean; proxyUrl: string; thinking: ThinkingLevel; followMode: boolean; expandToolCalls: boolean; apiType?: string; customBaseUrl?: string; authMethod?: "apikey" | "oauth"; } export declare const THINKING_LEVELS: { value: ThinkingLevel; label: string; }[]; export declare const API_TYPES: { id: string; name: string; hint: string; }[]; export declare function loadSavedConfig(ns: StorageNamespace): ProviderConfig | null; export declare function saveConfig(ns: StorageNamespace, config: ProviderConfig): void; export declare function buildCustomModel(config: ProviderConfig): Model | null; export declare function applyProxyToModel(model: Model, config: ProviderConfig): Model; //# sourceMappingURL=provider-config.d.ts.map