import type { Command } from 'commander'; export declare function isUnrecognizedCommandToken(token: string | undefined, program: Command): token is string; export declare function suggestCliCommand(token: string, program: Command, maxDistance?: number): string | undefined; export declare function checkBareUnknownCommand(input: string[], program: Command): { isUnknown: true; token: string; suggestion: string | undefined; } | { isUnknown: false; }; export declare function installUnknownCommandGuard(interactiveCmd: Command, program: Command): void;