UNPKG

unbound-claude-code

Version:

Claude Code with Unbound integration - Drop-in replacement for Claude Code with multi-provider routing and cost optimization

34 lines 925 B
/** * Unbound API Authentication and Verification */ import { UnboundModelsResponse } from "./types"; export declare class UnboundAuth { private baseUrl; private storage; constructor(baseUrl?: string); /** * Verify API key by calling the /models endpoint */ verifyApiKey(apiKey: string): Promise<boolean>; /** * Get available models from Unbound API */ getModels(apiKey: string): Promise<UnboundModelsResponse | null>; /** * Prompt user for API key interactively */ promptForApiKey(): Promise<string>; /** * Get Unbound API key from environment or prompt user */ getApiKey(): Promise<string>; /** * Get API key without verification */ getApiKeyOnly(): Promise<string>; /** * Complete authentication flow: get API key and verify it */ authenticate(): Promise<string>; } //# sourceMappingURL=auth.d.ts.map