/** * * Extracted from `worktree-auth-commands.ts` to keep that file under the * raw-line cap (mechanical verbatim move). The default TTL constant stays * in the parent module and is passed in as `defaultTtlMs`; the two * `no-magic-numbers` findings on it stay with it (a new sibling must be * clean outright). Every decision point — the INVALID_OPERATION / * EMPTY_REASON / INVALID_TTL / GRANT_FAILED exits and their exit codes — * is preserved in the original order. */ import type { Command } from 'commander'; import { type ProgramIO } from '../cli-helpers.js'; export declare function registerWorktreeAuthGrantCommand(auth: Command, io: ProgramIO, defaultTtlMs: number): void;