/** * Shared helpers for the `approve-remote` / `approve-local` scripts to turn a * `hula approve` exit-3 (merge confidence below threshold) into the structured * `below_threshold` JSON the `/hula-approve` skill renders. */ export interface BelowThresholdPayload { /** Human-readable exit-3 message from `hula approve`. */ message: string; /** The full merge assessment object (or `null` when unavailable). */ assessment: unknown; } /** * Extract the `{ message, assessment }` payload `hula approve` writes on its * single `HULA_MERGE_BELOW_THRESHOLD:` stdout line when it exits 3. Returns * `null` when the line is absent or unparsable (older CLI / unexpected output). */ export declare function parseBelowThreshold(stdout: string): BelowThresholdPayload | null; //# sourceMappingURL=approve-gate.d.ts.map