/**
 * Argument Parsing Utilities
 *
 * This module provides utilities for parsing command-line arguments in the
 * interactive CLI commands. These utilities are designed to be reusable
 * across different command modules.
 */
/**
 * Result of parsing command-line arguments
 */
export interface ParsedArguments {
    /** Regular arguments (non-option arguments) */
    parsedArgs: string[];
    /** Options in --key=value format */
    options: Record<string, string>;
    /** Flags in --flag format (boolean options) */
    flags: Set<string>;
}
/**
 * Parse command-line arguments supporting --key=value options and --flag style flags.
 *
 * This function separates regular arguments from options and flags:
 * - Regular args: any argument that doesn't start with --
 * - Options: --key=value format, parsed into options object
 * - Flags: --flag format (no value), parsed into flags set
 *
 * @param args Array of command-line arguments to parse
 * @returns Object containing parsed arguments, options, and flags
 *
 * @example
 * ```typescript
 * const result = parseOptions(['server', 'cmd', '--timeout=5000', '--verbose']);
 * // result.parsedArgs: ['server', 'cmd']
 * // result.options: { timeout: '5000' }
 * // result.flags: Set(['verbose'])
 * ```
 */
export declare function parseOptions(args: string[]): ParsedArguments;
/**
 * Convert parsed options back to command-line argument format.
 * Useful for debugging or reconstructing command lines.
 *
 * @param parsed The parsed arguments object
 * @returns Array of command-line arguments
 *
 * @example
 * ```typescript
 * const args = reconstructArgs({
 *   parsedArgs: ['server', 'cmd'],
 *   options: { timeout: '5000' },
 *   flags: new Set(['verbose'])
 * });
 * // Result: ['server', 'cmd', '--timeout=5000', '--verbose']
 * ```
 */
export declare function reconstructArgs(parsed: ParsedArguments): string[];
//# sourceMappingURL=arg-parser.d.ts.map