import type { Action, ExtensionWithOptions } from "../../../core/index.js"; import { type YfmTableSpecsOptions } from "./YfmTableSpecs/index.js"; declare const action = "createYfmTable"; export { convertToYfmTable } from "./commands/convert-table.js"; export { YfmTableNode, yfmTableType, yfmTableBodyType, yfmTableRowType, yfmTableCellType, } from "./YfmTableSpecs/index.js"; export type YfmTableOptions = YfmTableSpecsOptions & { /** * Enables floating controls for table. * @default true */ controls?: boolean; /** * Enables drag-d-drop rows and columns in table. * The `controls` property must also be `true`. * @default true */ dnd?: boolean; }; export declare const YfmTable: ExtensionWithOptions; declare global { namespace WysiwygEditor { interface Actions { [action]: Action; } } }