/** * True when the line is one of the 72-dash frames upstream draws around its * blocks. * * Exported for the failure-note builders, because a frame is never a cause and * the block removal alone does not get rid of every one: the frame's CLOSING * rule survives whenever the cause line follows it with no blank line between * (measured 2026-10-06 against the real binary — `files` on an unreadable store * leaves `────…` and then `[ERR] Failed to list files: file is not a database`, * and the note quoted the rule). */ export declare function isBackendRuleLine(raw: string): boolean; /** * Rewrites the `Backend: wasm` status line and collapses the * `WASM SQLite fallback active` block to one note. The match is anchored — a * run of block lines ends at the first line that is not a block shape. Output * with no wasm advice (notably a `Backend: native` index) passes through * byte-for-byte, and the transform is idempotent. */ export declare function rewriteSqliteBackendAdvice(text: string): string; /** * Removes the block instead of replacing it, for callers that quote one line * of upstream output as a failure cause. The status line is still rewritten, * so no deleted-package name survives either way. */ export declare function dropSqliteBackendAdvice(text: string): string;