import type { CliContext } from '../context.js'; export interface AutoOptions { /** Run a single check and exit (for cron / scripts). */ once?: boolean; /** Emit one JSON object per check instead of prose. */ json?: boolean; /** Decide using one model's weekly window (e.g. "Fable"). */ model?: string; /** Seconds between checks in the looping form. */ interval?: string; /** Report what would happen without switching anything. */ dryRun?: boolean; /** Override the configured "nearly out" percent for this run. */ threshold?: string; } /** Stable exit codes so scripts can branch without parsing output. */ export declare const AUTO_EXIT: { readonly switched: 0; readonly error: 1; readonly nothingToDo: 2; readonly blocked: 3; }; /** * Keep the active account ahead of its limits. Each check reads real usage and, * when the account in use is nearly out, moves to the one with the most room. * `--once` makes it a cron-friendly single check with a documented exit code. */ export declare function autoCommand(context: CliContext, options?: AutoOptions): Promise;