import { ComponentLoader, CollaborateSelectionAwarenessDelegate } from '@textbus/platform-browser';
import { ComponentInitData, ComponentInstance, Selection, AbstractSelection, SlotRender, Renderer, VElement } from '@textbus/core';
import { createCell, TableConfig, TableSlotState } from './hooks/table-multiple-range';
export { createCell };
export declare class TableComponentSelectionAwarenessDelegate extends CollaborateSelectionAwarenessDelegate {
    private renderer;
    private selection;
    constructor(renderer: Renderer, selection: Selection);
    getRects(abstractSelection: AbstractSelection): false | {
        left: number;
        top: number;
        width: number;
        height: number;
    }[];
}
export declare const tableComponent: import("@textbus/core").Component<ComponentInstance<{
    mergeCells(): void;
    splitCells(): void;
    deleteColumns(): void;
    deleteRows(): void;
    addRowToBottom(): void;
    addRowToTop(): void;
    addColumnToRight(): void;
    addColumnToLeft(): void;
    deleteColumnByIndex(startIndex: number, endIndex: number): void;
    deleteRowByIndex(startIndex: number, endIndex: number): void;
    insertRow(index: number): void;
    insertColumn(index: number): void;
    render(slotRender: SlotRender): VElement;
}, TableConfig, unknown>, ComponentInitData<TableConfig, TableSlotState>>;
export declare const tableComponentLoader: ComponentLoader;
