/** The delivered copy of guards/L2-branch-state.md, as a rules-config template name. */ export declare const BRANCH_STATE_MATRIX_DOC = "webpieces.branch-state-matrix.md"; /** * Drop the L2 matrix where the AI can read it, and return its absolute path ('' if it could not be * written). * * Best-effort by design, exactly as `writeGuardMatrixDoc` is: this runs on a path that is already * denying the call, and a missing template (a `@webpieces/rules-config` older than this package) must * cost the reader a pointer, never turn their deny into a stack trace. */ export declare function writeBranchStateMatrixDoc(workspaceRoot: string): string; /** * The `READ ` pointer appended to an L2 deny, or '' when the doc could not be written. * * Opens with a NEWLINE and carries no quotes or backslashes, for the same two reasons L0's does: the * deny renders in the house format (a header, a `[guard-name]` block, `Fix Option N:` lines) so a * pointer glued onto the last line is the one place that shape breaks; and the text is interpolated * into a JSON payload, where a quote would corrupt the decision rather than merely the prose. * * It names the ROW as well as the path. A bare "read this doc" is a page; a row number is the two * lines that explain this exact verdict, and the log line for this call carries the same number. */ export declare function branchStateMatrixPointer(docPath: string, row: string): string;