/** * Anthropic OAuth flow (Claude Pro/Max) */ import type { FetchImpl } from "../../types"; import { OAuthCallbackFlow } from "./callback-server"; import type { OAuthController, OAuthCredentials } from "./types"; export declare class AnthropicOAuthFlow extends OAuthCallbackFlow { #private; constructor(ctrl: OAuthController); generateAuthUrl(state: string, redirectUri: string): Promise<{ url: string; instructions?: string; }>; exchangeToken(code: string, state: string, redirectUri: string): Promise; } /** * Login with Anthropic OAuth */ export declare function loginAnthropic(ctrl: OAuthController): Promise; /** * Refresh Anthropic OAuth token */ export declare function refreshAnthropicToken(refreshToken: string, fetchOverride?: FetchImpl): Promise;