import { PrLifecycleGuardConfig } from '@webpieces/rules-config'; import type { BashContext, Violation } from '../types'; import { BashRuleBase } from '../rule-base'; import { FixHint } from '../fix-hint'; export declare class MergeInProgressGuardRule extends BashRuleBase { /** * The gated command this guard names, handed in by the LOADER from `commands.guardHints * .mergeInProgress` (already defaulted there). A constructor parameter, not a config field: the * field `merge-in-progress-guard.mergeCompleteCommand` was a SECOND SPELLING that beat the commands * section, and the loader's name-keyed injection that fed it could miss a rename silently. */ private readonly mergeCompleteCommand; constructor(config: PrLifecycleGuardConfig, mergeCompleteCommand: string); readonly description = "Block commit/push/merge/PR while a 3-point merge marker is unvalidated, forcing the merge-complete command."; get fixHint(): FixHint; check(ctx: BashContext): readonly Violation[]; }