import { UVEEventHandler, UVEEventType } from '@dotcms/types'; /** * Subscribes to content changes in the UVE editor * * @param {UVEEventHandler} callback - Function to be called when content changes are detected * @returns {Object} Object containing unsubscribe function and event type * @returns {Function} .unsubscribe - Function to remove the event listener * @returns {UVEEventType} .event - The event type being subscribed to * @internal */ export declare function onContentChanges(callback: UVEEventHandler): { unsubscribe: () => void; event: UVEEventType; }; /** * Subscribes to page reload events in the UVE editor * * @param {UVEEventHandler} callback - Function to be called when page reload is triggered * @returns {Object} Object containing unsubscribe function and event type * @returns {Function} .unsubscribe - Function to remove the event listener * @returns {UVEEventType} .event - The event type being subscribed to * @internal */ export declare function onPageReload(callback: UVEEventHandler): { unsubscribe: () => void; event: UVEEventType; }; /** * Subscribes to request bounds events in the UVE editor * * @param {UVEEventHandler} callback - Function to be called when bounds are requested * @returns {Object} Object containing unsubscribe function and event type * @returns {Function} .unsubscribe - Function to remove the event listener * @returns {UVEEventType} .event - The event type being subscribed to * @internal */ export declare function onRequestBounds(callback: UVEEventHandler): { unsubscribe: () => void; event: UVEEventType; }; /** * Subscribes to iframe scroll events in the UVE editor * * @param {UVEEventHandler} callback - Function to be called when iframe scroll occurs * @returns {Object} Object containing unsubscribe function and event type * @returns {Function} .unsubscribe - Function to remove the event listener * @returns {UVEEventType} .event - The event type being subscribed to * @internal */ export declare function onIframeScroll(callback: UVEEventHandler): { unsubscribe: () => void; event: UVEEventType; }; /** * Subscribes to contentlet hover events in the UVE editor * * @param {UVEEventHandler} callback - Function to be called when a contentlet is hovered * @returns {Object} Object containing unsubscribe function and event type * @returns {Function} .unsubscribe - Function to remove the event listener * @returns {UVEEventType} .event - The event type being subscribed to * @internal */ export declare function onContentletHovered(callback: UVEEventHandler): { unsubscribe: () => void; event: UVEEventType; };