//#region src/features/llm-providers/providers/types.d.ts type WireApiMode = "auto" | "chat" | "responses"; type ProviderApiProtocol = "openai-compatible" | "anthropic-messages"; type LocalizedText = { en?: string; zh?: string; }; type ProviderDeviceCodeAuthProtocol = "rfc8628" | "minimax_user_code"; type ProviderDeviceCodeAuthMethodSpec = { id: string; label?: LocalizedText; hint?: LocalizedText; baseUrl?: string; deviceCodePath?: string; tokenPath?: string; clientId?: string; scope?: string; grantType?: string; usePkce?: boolean; defaultApiBase?: string; }; type ProviderDeviceCodeAuthSpec = { kind: "device_code"; protocol?: ProviderDeviceCodeAuthProtocol; displayName?: string; baseUrl: string; deviceCodePath: string; tokenPath: string; clientId: string; scope: string; grantType: string; usePkce?: boolean; methods?: ProviderDeviceCodeAuthMethodSpec[]; defaultMethodId?: string; note?: LocalizedText; cliCredential?: { path: string; accessTokenField: string; refreshTokenField?: string; expiresAtField?: string; }; }; type ProviderAuthSpec = ProviderDeviceCodeAuthSpec; type ProviderModelSpec = { thinking?: { supported?: string[]; default?: string | null; }; vision?: boolean; }; type ProviderSpec = { name: string; keywords: string[]; envKey: string; displayName?: string; apiProtocol?: ProviderApiProtocol; modelPrefix?: string; defaultModels?: string[]; modelConfig?: Record; defaultHeaders?: Record; litellmPrefix?: string; skipPrefixes?: string[]; envExtras?: Array<[string, string]>; isGateway?: boolean; isLocal?: boolean; detectByKeyPrefix?: string; detectByBaseKeyword?: string; defaultApiBase?: string; stripModelPrefix?: boolean; modelOverrides?: Array<[string, Record]>; supportsWireApi?: boolean; wireApiOptions?: WireApiMode[]; defaultWireApi?: WireApiMode; supportsResponsesApi?: boolean; logo?: string; apiBaseHelp?: LocalizedText; auth?: ProviderAuthSpec; }; type ProviderCatalogPlugin = { id: string; providers: ProviderSpec[]; }; //#endregion export { ProviderDeviceCodeAuthMethodSpec as a, ProviderModelSpec as c, ProviderCatalogPlugin as i, ProviderSpec as l, ProviderApiProtocol as n, ProviderDeviceCodeAuthProtocol as o, ProviderAuthSpec as r, ProviderDeviceCodeAuthSpec as s, LocalizedText as t, WireApiMode as u }; //# sourceMappingURL=types-DuGjAtTB.d.ts.map