import { BlotConstructor } from "parchment"; export interface IRenderOptions { value: unknown; attributes?: Record; getBlotIndex(): number; } export type RenderFunc = (optoins: IRenderOptions) => React.ReactNode; export interface IUseBlockEmbedBlotOptions { blotName: string; tagName?: string; className?: string; create?: (value?: unknown) => HTMLElement; onAttach?: (domNode: HTMLElement) => void; render: RenderFunc; } export declare function useBlockEmbedBlot(options: IUseBlockEmbedBlotOptions): BlotConstructor;