import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export type ContextThresholdOptions = { promptSize: string; capacity?: string; inFlightBatch?: boolean; autoTrigger?: boolean; json?: boolean; }; /** `--capacity` override, or `undefined` to let the monitor use its default. */ export declare function capacityOf(opts: ContextThresholdOptions): number | undefined; /** * Parse `--prompt-size`, refusing a non-finite or negative value; `null` once * the refusal envelope for `command` has been printed. */ export declare function requirePromptSize(command: string, opts: ContextThresholdOptions, io: ProgramIO): number | null; export declare function registerContextStatusCommand(context: Command, io: ProgramIO): void;