/**
 * @jsxRuntime classic
 * @jsx jsx
 */
import { type SyntheticEvent } from 'react';
import { jsx } from '@emotion/react';
export interface OnTableSizeSelection {
    (rowsCount: number, colsCount: number, event?: SyntheticEvent): void;
}
type SimpleEventHandler<T> = (event: T) => void;
export interface TableSelectorPopupProps {
    allowOutsideSelection?: boolean;
    defaultSize?: {
        col: number;
        row: number;
    };
    handleClickOutside?: SimpleEventHandler<MouseEvent>;
    handleEscapeKeydown?: SimpleEventHandler<KeyboardEvent>;
    isOpenedByKeyboard: boolean;
    onSelection: OnTableSizeSelection;
    onUnmount?: () => void;
    popupsBoundariesElement?: HTMLElement;
    popupsMountPoint?: HTMLElement;
    popupsScrollableElement?: HTMLElement;
    target?: HTMLElement;
}
export declare const TableSelectorPopup: (props: TableSelectorPopupProps) => jsx.JSX.Element;
export default TableSelectorPopup;
