/** * Authentication — OAuth flow with IndigoAI * Opens browser for sign-in, receives tokens via localhost callback */ import type { Credentials } from "./types.js"; export declare function hasCredentials(): boolean; export declare function readCredentials(): Credentials | null; export declare function writeCredentials(creds: Credentials): void; export declare function clearCredentials(): void; /** * Start OAuth flow: * 1. Open browser to AUTH_URL with callback port * 2. Start localhost server to receive tokens * 3. Store credentials */ export declare function authenticate(): Promise; /** * Refresh temporary AWS credentials using refresh token */ export declare function refreshAwsCredentials(creds: Credentials): Promise; //# sourceMappingURL=auth.d.ts.map