export interface AnthropicCredentials { accessToken: string; refreshToken: string; expiresAt: number; subscriptionType?: string; importedFrom?: string; } export declare class AnthropicAuth { private creds; private storePath; load(): Promise; /** * OAuth flow completo desde sq (igual que `claude setup-token` pero sin abrir Claude Code). * Devuelve `sk-ant-oat...` que la API acepta con el beta `oauth-2025-04-20`. */ login(): Promise; reimport(): Promise; ensureValid(): Promise; /** ms hasta que expira el token actual (negativo si ya expiró). null si no hay creds. */ msUntilExpiry(): number | null; getHeaders(): Promise>; /** True si las credenciales actuales son un token OAuth (Claude Code) y no una API key. */ isOAuthToken(): boolean; isAuthenticated(): boolean; getInfo(): { subscriptionType?: string; expiresAt?: number; importedFrom?: string; } | null; private persist; } //# sourceMappingURL=anthropic.d.ts.map