/** Match only node:sqlite errors whose SQLite primary result code is BUSY or LOCKED. */ export declare function isSqliteLockError(error: unknown): boolean; /** Match only native node:sqlite operational failures discovery may safely report as bounded degradation. */ export declare function isSqliteOperationalError(error: unknown): boolean; /** Match database bytes that SQLite itself reports as corrupt or not a database. */ export declare function isSqliteCorruptionError(error: unknown): boolean; /** Match one exact PRIMARY KEY/UNIQUE target; trigger text cannot spoof this check. */ export declare function isSqliteUniqueConstraintError(error: unknown, targets: readonly string[]): boolean; /** Retry a synchronous operation at most five total attempts, and only for SQLite BUSY/LOCKED. */ export declare function withSqliteLockRetry(operation: () => T): T; //# sourceMappingURL=sqlite-retry.d.ts.map