import type { FlagSpec } from "@cotal-ai/core"; /** The string flag whose value is currently being completed, if the cursor is in one. */ export declare function completingFlagValue(argv: string[], flags: readonly FlagSpec[]): FlagSpec | undefined; /** Strip declared flags and their values, leaving the positional cursor shape for sub-grammars. */ export declare function positionalsForCompletion(argv: string[], flags: readonly FlagSpec[]): string[]; export declare function hasCompletedFlagValue(argv: string[], flags: readonly FlagSpec[], name: string): boolean; export declare function completedFlagValue(argv: string[], flags: readonly FlagSpec[], name: string): string | undefined; //# sourceMappingURL=completion.d.ts.map