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;
    /**
     * Enables header rows functionality in table (toggle row as header, visual decoration).
     * The `controls` property must also be `true`.
     *
     * Available with @diplodoc/transform v4.75.0 or higher.
     * @default false
     */
    headerRows?: boolean;
    /**
     * Enables cell background color picker for table cells.
     * The `controls` property must also be `true`.
     *
     * Available with @diplodoc/transform v4.75.0 or higher.
     * @default false
     */
    cellBackground?: boolean;
};
export declare const YfmTable: ExtensionWithOptions<YfmTableOptions>;
declare global {
    namespace WysiwygEditor {
        interface Actions {
            [action]: Action;
        }
    }
}
