import { BaseEditor } from 'slate'; import { ReactEditor } from 'slate-react'; import { GalleryElement } from '@mercuriya/slate-gallery-common'; export declare const isGalleryActive: (editor: Editor_1) => boolean; export declare const insertGallery: (editor: Editor_1) => void; /** * Set additional data to current block * * @param {Editor} editor * @param {GalleryElement} element * @param {object} payload - additional data */ export declare const changeNodeData: (editor: Editor_1, element: GalleryElement, payload: Partial) => void;