import { BlockNoteEditor, BlockNoteEditorOptions, BlockSchema } from "bocknoat-core"; import { DependencyList, FC } from "react"; import { DragHandleMenuProps } from "../BlockSideMenu/components/DragHandleMenu"; type CustomElements = Partial<{ formattingToolbar: FC<{ editor: BlockNoteEditor; }>; dragHandleMenu: FC>; }>; /** * Main hook for importing a BlockNote editor into a React project */ export declare const useBlockNote: > = { readonly paragraph: { readonly propSchema: { backgroundColor: { default: "transparent"; }; textColor: { default: "black"; }; textAlignment: { default: "left"; values: readonly ["left", "center", "right", "justify"]; }; }; readonly node: import("bocknoat-core").TipTapNode<"paragraph", any, any>; }; readonly heading: { readonly propSchema: { readonly level: { readonly default: "1"; readonly values: readonly ["1", "2", "3"]; }; readonly backgroundColor: { default: "transparent"; }; readonly textColor: { default: "black"; }; readonly textAlignment: { default: "left"; values: readonly ["left", "center", "right", "justify"]; }; }; readonly node: import("bocknoat-core").TipTapNode<"heading", any, any>; }; readonly bulletListItem: { readonly propSchema: { backgroundColor: { default: "transparent"; }; textColor: { default: "black"; }; textAlignment: { default: "left"; values: readonly ["left", "center", "right", "justify"]; }; }; readonly node: import("bocknoat-core").TipTapNode<"bulletListItem", any, any>; }; readonly numberedListItem: { readonly propSchema: { backgroundColor: { default: "transparent"; }; textColor: { default: "black"; }; textAlignment: { default: "left"; values: readonly ["left", "center", "right", "justify"]; }; }; readonly node: import("bocknoat-core").TipTapNode<"numberedListItem", any, any>; }; }>(options?: Partial & { customElements: Partial<{ formattingToolbar: FC<{ editor: BlockNoteEditor; }>; dragHandleMenu: FC>; }>; }>, deps?: DependencyList) => BlockNoteEditor | null; export {};