import { BaseEditor } from 'slate'; import { ReactEditor, type RenderElementProps } from 'slate-react'; import { ReadOnlyGalleryElement } from '@mercuriya/slate-gallery-common'; import { GalleryReadOnlyOptions } from './ReadOnlyGallery'; export declare const withReadOnlyGallery: (editor: Editor, options?: GalleryReadOnlyOptions) => Editor & { isVoid: (value: import("slate").BaseElement) => boolean; galleryElementType: ({ children, element, ...props }: Omit & { element: ReadOnlyGalleryElement; }) => import("react/jsx-runtime").JSX.Element; };