/** Canonical host for Claude's first-party account API. */ export declare const DEFAULT_CLAUDE_API_BASE_URL = "https://api.anthropic.com"; /** Canonical subscription usage and profile endpoint. */ export declare const DEFAULT_CLAUDE_OAUTH_BASE_URL = "https://api.anthropic.com/api/oauth"; /** OAuth protocol beta required by Claude's account routes. */ export declare const CLAUDE_OAUTH_BETA = "oauth-2025-04-20"; /** * Normalize Messages (`/v1`) and OAuth (`/api/oauth`) endpoints to the common * API root used by both usage and reset routes. Custom path prefixes survive. */ export declare function normalizeClaudeApiBaseUrl(baseUrl?: string): string; /** Resolve the OAuth API base while retaining a configured proxy path prefix. */ export declare function claudeOAuthBaseUrl(baseUrl?: string): string; /** Configured OAuth endpoint followed by canonical fallback, without duplicates. */ export declare function claudeOAuthBaseUrls(baseUrl?: string): readonly string[]; /** Resolve a first-party account route against the configured Claude API root. */ export declare function claudeApiUrl(baseUrl: string | undefined, path: string): string; /** Shared OAuth and CLI identity headers for Claude usage, profile, and resets. */ export declare function buildClaudeOAuthHeaders(accessToken: string, options?: { beta?: string; json?: boolean; }): Record;