import type { RickyMode } from '../cli/mode-selector.js';
export type PowerUserCommand = 'run' | 'help' | 'version' | 'status' | 'connect' | 'schedule' | 'schedules';
export type PowerUserSurface = 'legacy' | 'local' | 'cloud' | 'workflow' | 'status' | 'connect' | 'schedule';
export type ConnectTarget = 'cloud' | 'agents' | 'integrations' | 'linear';
export type StatusTarget = 'linear';
export interface PowerUserParsedArgs {
    command: PowerUserCommand;
    surface: PowerUserSurface;
    mode?: RickyMode;
    connectTarget?: ConnectTarget;
    statusTarget?: StatusTarget;
    cloudTargets?: string[];
    runId?: string;
    spec?: string;
    specFile?: string;
    artifact?: string;
    stdin?: boolean;
    workflowName?: string;
    cronExpression?: string;
    scheduledAt?: string;
    timezone?: string;
    runRequested?: boolean;
    noRun?: boolean;
    /**
     * Set when the user passes `--no-auto-salvage` (or sets
     * `RICKY_DISABLE_AUTO_SALVAGE=1`). Disables the salvage hook that runs on
     * `--run` exit to recover worktree work when the workflow hung before
     * reaching `createGitHubStep`.
     */
    noAutoSalvage?: boolean;
    background?: boolean;
    foreground?: boolean;
    startFromStep?: string;
    previousRunId?: string;
    yes?: boolean;
    json?: boolean;
    quiet?: boolean;
    verbose?: boolean;
    autoFix?: number;
    refine?: false | {
        model?: string;
    };
    bestJudgement?: boolean;
    login?: boolean;
    connectMissing?: boolean;
    /** Set only when the CLI passes --workforce-persona/--no-workforce-persona; omitted otherwise. */
    workforcePersonaWriterCli?: boolean;
    errors?: string[];
}
export declare function parsePowerUserArgs(argv: string[]): PowerUserParsedArgs;
