export declare function parseYes(mode: string): boolean; export declare function resolveKey(saved?: string): string; export declare function assertModelExists(model: string, ids: readonly string[]): void; export declare function resolveModelFuzzy(flag: string, ids: readonly string[]): string | null; export declare function applyLastOpts(opts: { agent?: string; model?: string; yes?: string; yolo?: boolean; last?: boolean; }, gateway: string): void;