import { ReactNode } from 'react'; import type { BaseEditor } from 'slate'; import type { ReactEditor, RenderElementProps } from 'slate-react'; import type { GalleryElement } from '@mercuriya/slate-gallery-common'; import type { GalleryOptions } from './types'; type GalleryProps = GalleryOptions & { attributes: RenderElementProps['attributes']; children: ReactNode; editor: Editor; element: GalleryElement; /** * Placeholder text */ placeholder?: string | ReactNode; /** * Placeholder that appears on image drop */ droppingPlaceholder?: string | ReactNode; }; export declare function Gallery({ attributes, children, editor, element, size, placeholder, droppingPlaceholder, dropzoneProps, sortableContainerProps, renderControls, renderEditModal, renderImage, imageClassName, imageWrapperClassName, leftClassName, }: GalleryProps): import("react/jsx-runtime").JSX.Element; export {};