/**
 * Centralized flag parsing for CLEO CLI commands.
 *
 * Provides standardized flag handling: --json, --human, --quiet, --dry-run,
 * --verbose, --help, --force. Commands import and use these utilities.
 *
 * @task T4454
 * @epic T4454
 */
/** Parsed flag state. */
export interface ParsedFlags {
    format: 'json' | 'human' | '';
    quiet: boolean;
    dryRun: boolean;
    verbose: boolean;
    help: boolean;
    force: boolean;
    remaining: string[];
}
/** Default flag values. */
export declare function defaultFlags(): ParsedFlags;
/**
 * Parse common CLI flags from an argument array.
 * Returns flags and remaining positional arguments.
 */
export declare function parseCommonFlags(args: string[]): ParsedFlags;
/**
 * Resolve output format based on flags and TTY detection.
 * Returns 'json' for non-TTY (piped), 'human' for TTY.
 */
export declare function resolveFormat(flagFormat: string): 'json' | 'human';
/** Check if output should be JSON. */
export declare function isJsonOutput(flags: ParsedFlags): boolean;
//# sourceMappingURL=flags.d.ts.map