import { BlockNoteEditor, DefaultBlockSchema, DefaultInlineContentSchema, DefaultStyleSchema, InlineContentSchema, StyleSchema, TableHandlesState } from "@blocknote/core"; import { DragEvent, FC } from "react"; import { DragHandleMenuProps } from "../SideMenu/DragHandleMenu/DragHandleMenuProps.js"; type NonUndefined = T extends undefined ? never : T; export type TableHandleProps = { editor: BlockNoteEditor<{ table: DefaultBlockSchema["table"]; }, I, S>; orientation: "row" | "column"; index: number; dragStart: (e: DragEvent) => void; showOtherSide: () => void; hideOtherSide: () => void; tableHandleMenu?: FC>; } & Pick, "block"> & Pick["tableHandles"]>, "dragEnd" | "freezeHandles" | "unfreezeHandles">; export {};