/** * Anthropic OAuth flow (Claude Pro/Max) * * Inspired by pi-mono's OAuth implementation: * https://github.com/badlogic/pi-mono/blob/main/packages/ai/src/utils/oauth/anthropic.ts */ import type { OAuthCredentials, OAuthProviderInterface } from '../types.js'; /** * Login with Anthropic OAuth (device code flow) */ export declare function loginAnthropic(onAuthUrl: (url: string) => void, onPromptCode: () => Promise): Promise; /** * Refresh Anthropic OAuth token */ export declare function refreshAnthropicToken(refreshToken: string): Promise; export declare const anthropicOAuthProvider: OAuthProviderInterface; //# sourceMappingURL=anthropic.d.ts.map