import type { BlockDecision } from './types.mts'; /** * Automation never receives merge authority. The check is deliberately coarse and parses no * wrappers: a command that names gh and has a merge-shaped word in any script the hook reads * blocks. Overmatches (a `git merge` beside gh, merge help, quoted prose) are accepted. * Interactively this returns null. */ export declare function findAutomationMergeBlock(command: string, automationContext: boolean, guidance?: string): BlockDecision | null; /** * The 'confirm' disposition for an interactive merge, which a caller may render as a silent allow * in an attended session. Call it last, so any block anywhere in the command wins; only a command * that is one plain merge qualifies. */ export declare function findInteractiveMergeConfirm(command: string, automationContext: boolean, guidance?: string): BlockDecision | null; /** * True only for a command that is exactly one `gh pr merge`, or one `gh stack merge` with a * numeric selector, optionally after plain `NAME=value` assignments or `env NAME=value`. The * raw-text check rejects every compound, wrapped, or expanded form before tokenizing, so a lone * merge can never carry a second command along with the allow. */ export declare function isLoneMergeCommand(command: string): boolean;