import type { CommandSpec } from '../../../commands/spec/types.ts'; import type { ParsedCommand } from './types.ts'; import { PathSpec } from '../../../types.ts'; export declare function parseFlags(parts: readonly (string | PathSpec)[], spec: CommandSpec | null, cmdName: string, cwd: string, env?: Readonly>): ParsedCommand; export declare function optionError(cmdName: string, parsed: ParsedCommand): [Uint8Array, number] | null; //# sourceMappingURL=flags.d.ts.map