import type { EditorLocale } from "@/shared/locales";
import "./index.css";
export interface TableSizePickerProps {
    /** 用户点击确认时回调，行、列均从 1 起 */
    onSelect: (rows: number, cols: number) => void;
    /** 网格行数上限，默认 10 */
    maxRows?: number;
    /** 网格列数上限，默认 10 */
    maxCols?: number;
    locale: EditorLocale;
}
export declare function TableSizePicker({ onSelect, maxRows, maxCols, locale, }: TableSizePickerProps): React.ReactElement;
export default TableSizePicker;
