/** * This Source Code is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Copyright (c) Infonomic Company Limited */ import type { DocumentRevisionValidationDetails, DocumentStaleDetails } from '../../@types/document-revision.js'; /** Decode only allowlisted fields; works with live errors and serialized reports. */ export declare function getDocumentStaleDetails(error: unknown): DocumentStaleDetails | null; export declare function getDocumentRevisionValidationDetails(error: unknown): DocumentRevisionValidationDetails | null; /** Private lifecycle boundary adapter; never reclassify unrelated conflict errors. */ export declare function normalizeDocumentVersionParentError(error: unknown): unknown;