/** * Shared helpers for the LLM stages (precision filter, governance grader, * maturity judge). Extracted once a third stage appeared, per the note in * filter-stage.ts / layer4-stage.ts. */ /** Parse JSON from an LLM response: fenced ```json, any fenced block, or bare. */ export declare function extractJson(text: string): unknown; /** Reject a promise if it does not settle within `ms` milliseconds. */ export declare function withTimeout(p: Promise, ms: number): Promise;