/** * Kagi login flow. * * Kagi web search uses an API key from the account settings page. * This is an API key flow: * 1. Open browser to Kagi API settings * 2. User copies API key * 3. User pastes key into CLI */ import type { OAuthController } from "./types"; /** * Login to Kagi. * * Opens browser to API settings and prompts user to paste their API key. * Returns the API key directly (not OAuthCredentials - this isn't OAuth). */ export declare function loginKagi(options: OAuthController): Promise;