import type { HotInstance } from '../core/types'; /** * Converts Handsontable into HTMLTableElement. * * @param {Core} instance The Handsontable instance. * @returns {string} OuterHTML of the HTMLTableElement. */ export declare function instanceToHTML(instance: HotInstance): string; /** * Converts 2D array into HTMLTableElement. * * @param {Array} input Input array which will be converted to HTMLTable. * @returns {string} OuterHTML of the HTMLTableElement. */ export declare function _dataToHTML(input: unknown[][]): string; /** * Replaces each `...` in the HTML string with a normalized version that keeps only * text-like content (strips nested tables, VML/shapes, etc.). Uses matching close-tag search * so that nested `` (e.g. from Excel paste with shapes) do not truncate the payload. * Exported so clipboard HTML can be normalized before sanitization. * * @param {string} html Raw HTML (e.g. from clipboard text/html). * @returns {string} HTML with each cell replaced by opening tag + stripped text + ``. */ export declare function replaceTdCellsWithTextContent(html: string): string; /** * Converts HTMLTable or string into Handsontable configuration object. * * @param {Element|string} element Node element which should contain `...
`. * @param {Document} [rootDocument] The document window owner. * @returns {object} Return configuration object. Contains keys as DefaultSettings. */ export declare function htmlToGridSettings(element: HTMLTableElement | string, rootDocument?: Document): Record | undefined;