/**
 * Sanitize a page-builder layout node tree in place-immutably, cleaning the
 * rich-text block bodies. Containers/rows/columns recurse through `children`.
 */
export declare function sanitizeLayoutTree(layout: unknown): unknown;
/**
 * Sanitize every author-HTML sink reachable in a document's `data` payload for
 * the given collection: top-level + nested rich-text fields and the canonical
 * `sections[]` rich-text slots. The page-builder `_layout` tree is sanitized
 * separately via {@link sanitizeLayoutTree} because it is split into an envelope
 * before this runs.
 */
export declare function sanitizeDocumentHtml(data: Record<string, unknown>, collection: string): Record<string, unknown>;
//# sourceMappingURL=sanitize-document.d.ts.map