import type { HookPayload } from '../command-policy/types.mts'; export type PaneTitleSpawnResult = { error?: NodeJS.ErrnoException | null | undefined; status: number | null; stdout: string; stderr?: string; }; export type PaneTitleSpawn = (command: string, args: readonly string[], env: NodeJS.ProcessEnv) => PaneTitleSpawnResult; export type PostToolTmuxOptions = { env?: NodeJS.ProcessEnv | undefined; spawnPaneTitle?: PaneTitleSpawn | undefined; /** Command the reminder tells the agent to run. Default: `TMUX_NAME_COMMAND` or `vouchington tmux name`. */ nameCommand?: string | undefined; }; /** * Remind the agent to (re)name its tmux window at the checkpoints a post-tool payload can * detect: a plan was accepted, a PR was created, a push landed without a `-pr` title suffix, * or reset-worktree left a stale title. Silent (`null`) without a verified pane and for every * other tool call. The pane is read only after a checkpoint matches. */ export declare function renderPostToolReminder(payload: HookPayload, options?: PostToolTmuxOptions): string | null;