export type AuditArgs = { rules: string; projectsDir: string; codexSessionsDir: string; settingsPath?: string; maxFilesPerRoot: number; sinceDays?: number; sessionId?: string; json: boolean; raw: boolean; /** Undefined resolves the roots from git. */ repoRoots?: string[]; worktreeGlobs: string[]; }; /** * Parses the `sandbox-command-audit` flags. Transcript roots default to the harnesses' own * (`CLAUDE_CONFIG_DIR` / `CODEX_HOME`, else the home directory), matching transcript resolution. * Throws an Error whose message names the first problem. */ export declare function parseAuditArgs(argv: readonly string[], env: NodeJS.ProcessEnv): AuditArgs;