/**
 * CLI argument parsing and help display
 */
import type { ThinkingLevel } from '../core/core-types.js';
export type Mode = 'text' | 'json' | 'rpc';
export interface Args {
    provider?: string;
    model?: string;
    apiKey?: string;
    systemPrompt?: string;
    appendSystemPrompt?: string;
    thinking?: ThinkingLevel;
    continue?: boolean;
    resume?: boolean;
    help?: boolean;
    version?: boolean;
    mode?: Mode;
    noSession?: boolean;
    session?: string;
    sessionDir?: string;
    extensions?: string[];
    noExtensions?: boolean;
    print?: boolean;
    export?: string;
    noSkills?: boolean;
    skills?: string[];
    promptTemplates?: string[];
    noPromptTemplates?: boolean;
    themes?: string[];
    noThemes?: boolean;
    listModels?: string | true;
    offline?: boolean;
    devMode?: boolean;
    agentMode?: string;
    verbose?: boolean;
    maxTurns?: number;
    maxToolUses?: number;
    maxTokens?: number;
    watch?: string;
    dangerouslySkipRuntimePermissions?: boolean;
    dangerouslySkipSpreadsheetPermissions?: boolean;
    messages: string[];
    fileArgs: string[];
    /** Unknown flags (potentially extension flags) - map of flag name to value */
    unknownFlags: Map<string, boolean | string>;
}
/** Parse process argv into a structured Args record, supporting extension-registered flags. */
export declare function parseArgs(args: string[], extensionFlags?: Map<string, {
    type: 'boolean' | 'string';
}>): Args;
/** Print the CLI help text to stdout. */
export declare function printHelp(): void;
//# sourceMappingURL=args.d.ts.map