import type { Args } from "./args.ts"; export type AuthCommandKind = "check" | "api_key" | "bearer_token"; export interface AuthCommand { kind: AuthCommandKind; /** Remaining argv for the normal parser. */ args: string[]; json: boolean; /** `auth check` emits a resolved credential only with this explicit opt-in. */ credentials: boolean; noRefresh: boolean; minExpiryMs?: number; } export declare class AuthCommandError extends Error { readonly exitCode: number; constructor(message: string, exitCode?: number); } export declare function getAuthCommandName(kind: AuthCommandKind): string; export declare function getAuthCommandUsage(kind: AuthCommandKind): string; export declare function isAuthCommandHelp(args: string[]): boolean; export declare function printAuthCommandHelp(): void; /** Parse the `atomic auth` command surface before normal startup. */ export declare function parseAuthCommand(args: string[]): AuthCommand | undefined; export declare function validateAuthCheckArgs(args: Args): { provider?: string; model?: string; }; //# sourceMappingURL=auth-command.d.ts.map