import { BlockFromConfig, BlockNoteEditor, BlockSchemaWithBlock, CustomBlockConfig, InlineContentSchema, PartialBlockFromConfig, Props, PropSchema, StyleSchema } from "@blocknote/core"; import { FC, ReactNode } from "react"; export type ReactCustomBlockRenderProps = { block: BlockFromConfig; editor: BlockNoteEditor, I, S>; contentRef: (node: HTMLElement | null) => void; }; export type ReactCustomBlockImplementation = { render: FC>; toExternalHTML?: FC>; parse?: (el: HTMLElement) => PartialBlockFromConfig["props"] | undefined; }; export declare function BlockContentWrapper(props: { blockType: BType; blockProps: Props; propSchema: PSchema; isFileBlock?: boolean; domAttributes?: Record; children: ReactNode; }): import("react/jsx-runtime").JSX.Element; export declare function createReactBlockSpec(blockConfig: T, blockImplementation: ReactCustomBlockImplementation): { config: T; implementation: import("@blocknote/core").TiptapBlockImplementation; };