/** * Kimi Code OAuth flow (device authorization grant) */ import type { OAuthController, OAuthCredentials } from "./types"; export declare let getKimiCommonHeaders: () => Readonly<{ "User-Agent": `KimiCLI/${string}`; "X-Msh-Platform": "kimi_cli"; "X-Msh-Version": string; "X-Msh-Device-Name": string; "X-Msh-Device-Model": string; "X-Msh-Os-Version": string; "X-Msh-Device-Id": string; }>; /** * Login with Kimi Code OAuth (device code flow). */ export declare function loginKimi(options: OAuthController): Promise; /** * Refresh Kimi OAuth token. */ export declare function refreshKimiToken(refreshToken: string): Promise;