import { StyleConfig } from "@blocknote/core"; import { FC } from "react"; export type ReactCustomStyleImplementation = { render: T["propSchema"] extends "boolean" ? FC<{ contentRef: (el: HTMLElement | null) => void; }> : FC<{ contentRef: (el: HTMLElement | null) => void; value: string; }>; }; export declare function createReactStyleSpec(styleConfig: T, styleImplementation: ReactCustomStyleImplementation): { config: T; implementation: import("@blocknote/core").StyleImplementation; };