import { BlockSchemaWithBlock } from "@blocknote/core";
import { ReactNode } from "react";
import type { TableHandleProps } from "./TableHandlePositioner";
export declare const TableHandle: <BSchema extends BlockSchemaWithBlock<"table", {
    type: "table";
    content: "table";
    propSchema: {
        backgroundColor: {
            default: "default";
        };
        textColor: {
            default: "default";
        };
        textAlignment: {
            default: "left";
            values: readonly ["left", "center", "right", "justify"];
        };
    };
}>>(props: Pick<import("@blocknote/core").TableHandlesProsemirrorPlugin<BSchema, any, any>, "dragEnd" | "freezeHandles" | "unfreezeHandles"> & Omit<import("@blocknote/core").TableHandlesState<any, any>, "show" | "rowIndex" | "colIndex" | "referencePosCell" | "referencePosTable" | "draggingState"> & {
    orientation: "column" | "row";
    editor: import("@blocknote/core").BlockNoteEditor<BlockSchemaWithBlock<"table", {
        type: "table";
        content: "table";
        propSchema: {
            backgroundColor: {
                default: "default";
            };
            textColor: {
                default: "default";
            };
            textAlignment: {
                default: "left";
                values: readonly ["left", "center", "right", "justify"];
            };
        };
    }>, import("@blocknote/core").InlineContentSchemaFromSpecs<{
        text: {
            config: "text";
            implementation: any;
        };
        link: {
            config: "link";
            implementation: any;
        };
    }>, import("@blocknote/core").StyleSchemaFromSpecs<{
        bold: {
            config: {
                type: string;
                propSchema: "boolean";
            };
            implementation: import("@blocknote/core").StyleImplementation;
        };
        italic: {
            config: {
                type: string;
                propSchema: "boolean";
            };
            implementation: import("@blocknote/core").StyleImplementation;
        };
        underline: {
            config: {
                type: string;
                propSchema: "boolean";
            };
            implementation: import("@blocknote/core").StyleImplementation;
        };
        strike: {
            config: {
                type: string;
                propSchema: "boolean";
            };
            implementation: import("@blocknote/core").StyleImplementation;
        };
        code: {
            config: {
                type: string;
                propSchema: "boolean";
            };
            implementation: import("@blocknote/core").StyleImplementation;
        };
        textColor: {
            config: {
                type: string;
                propSchema: "string";
            };
            implementation: import("@blocknote/core").StyleImplementation;
        };
        backgroundColor: {
            config: {
                type: string;
                propSchema: "string";
            };
            implementation: import("@blocknote/core").StyleImplementation;
        };
    }>>;
    tableHandleMenu?: import("react").FC<import("../..").DragHandleMenuProps<BSchema, any, any>> | undefined;
    dragStart: (e: import("react").DragEvent<HTMLDivElement>) => void;
    index: number;
    showOtherSide: () => void;
    hideOtherSide: () => void;
} & {
    children: ReactNode;
}) => import("react/jsx-runtime").JSX.Element;
