/** * Regex patterns that identify Forge-related Bash commands. * Ported verbatim from forge/forge/hooks/triage-error.js lines 10–20. * Exported as `readonly` so tests can verify count and identity. */ export declare const FORGE_PATTERNS: readonly RegExp[]; /** * Returns true if the command matches any Forge-related pattern. * Mirrors `isForgeRelated()` from triage-error.js. */ export declare function isForgeRelated(command: string): boolean; /** * Build the ctx.ui.notify message for a failed Forge-related command. * * Format (condensed for notification surface): * FORGE_ERROR_TRIAGE: A Forge command just failed. [First error line: "...". ] * Would you like to file a bug? Run /forge:report-bug * * @param command The original bash command string (unused in message body; kept for future use). * @param outputSnippet First few lines of tool output, already joined to a single string. * Empty string if no output is available. */ export declare function buildTriageMessage(_command: string, outputSnippet: string): string;