/** * Anthropic OAuth flow (Anthropic model Pro/Max) */ 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): Promise;