export type TBEditorDomEventTarget = EventTarget | Node | null | undefined;
export declare const BEDITOR_TABLE_CAPTION_INPUT_ATTRIBUTE = "data-beditor-table-caption-input";
export declare const BEDITOR_TABLE_CAPTION_INPUT_SELECTOR = "[data-beditor-table-caption-input=\"true\"]";
export declare function resolveBEditorClosestTableCell(target: TBEditorDomEventTarget): HTMLTableCellElement | null;
export declare function resolveBEditorTableCaptionInput(tableDom: HTMLElement | null | undefined): HTMLElement | null;
export declare function clampBEditorTableSpan(value: number): number;
export interface IBEditorDomTableCellPlacement {
    cell: HTMLTableCellElement;
    colIndex: number;
    colspan: number;
    rowIndex: number;
    rowspan: number;
}
export declare function resolveBEditorDomTableCellPlacements(table: HTMLTableElement): Map<HTMLTableCellElement, IBEditorDomTableCellPlacement>;
export declare function resolveBEditorDomTableColumnCount(table: HTMLTableElement, placements: Map<HTMLTableCellElement, IBEditorDomTableCellPlacement>): number;
