import type { AgentId, HomePath, SelectionInput } from "./contract.js"; export declare const USAGE = "Usage: /resume-from [] [ | | ] [--home ] [--agent ] [--confirm ]"; /** The one confirmation flag. `runner.ts` strips it from re-run hints with the same predicate. */ export declare const CONFIRM_FLAG = "--confirm"; /** True for both accepted forms: `--confirm ` and `--confirm=`. */ export declare function isConfirmFlag(arg: string): boolean; export interface ParsedArgs { /** Null when the user asked for the list (FR-10). */ selection: SelectionInput | null; onlyAgent: AgentId | null; onlyHome: HomePath | null; confirmationToken: string | null; } export type ParseResult = { ok: true; args: ParsedArgs; } | { ok: false; problem: string; }; export declare function parseArgs(argv: string[], cwd: string): ParseResult;