/** * Claude — "Sign in with Claude" OAuth (Authorization Code + PKCE), Claude * Pro/Max subscription login. Headless port of the CLI's `anthropic-oauth.ts`. * * Anthropic quirks: authorize at claude.ai/oauth/authorize (`code=true`), the * OAuth `state` IS the PKCE verifier, JSON token exchange at * platform.claude.com/v1/oauth/token, loopback callback on :53692/callback. */ import type { BeginOAuthDeps, OAuthSession } from './types.js'; export declare const CLAUDE_PROVIDER_ID = "anthropic-oauth"; /** Build the Claude authorize URL. Anthropic uses the PKCE verifier as `state`. */ export declare function buildClaudeAuthorizeUrl(challenge: string, verifier: string): string; export declare function beginClaudeLogin(_deps: BeginOAuthDeps | undefined, signal?: AbortSignal): Promise; //# sourceMappingURL=claude.d.ts.map