import { BlockEditorContent } from '@dotcms/types'; import { BlockEditorState, DotCMSContainerBound } from '@dotcms/types/internal'; /** * Sets the bounds of the containers in the editor. * Retrieves the containers from the DOM and sends their position data to the editor. * @private * @memberof DotCMSPageEditor */ export declare function setBounds(bounds: DotCMSContainerBound[]): void; /** * Validates the structure of a Block Editor block. * * This function checks that: * 1. The blocks parameter is a valid object * 2. The block has a 'doc' type * 3. The block has a valid content array that is not empty * * @param {Block} blocks - The blocks structure to validate * @returns {BlockEditorState} Object containing validation state and any error message * @property {boolean} BlockEditorState.isValid - Whether the blocks structure is valid * @property {string | null} BlockEditorState.error - Error message if invalid, null if valid */ export declare const isValidBlocks: (blocks: BlockEditorContent) => BlockEditorState;