import { VNode } from 'snabbdom'; import { Cell } from './helper'; /** Needed to update the html document */ export declare const patch: (oldVnode: VNode | Element | DocumentFragment, vnode: VNode) => VNode; /** * Creates a header with the given parameters. * @param id Id of the table. * @param headers Header Values of the table. * @returns the created table as VNode. */ export declare function createTable(id: string, headers: string[]): VNode; /** * Creates a row of a table as VNode. * @param id Id of the row. * @param values The values of the row in the correct ordering. * @returns a row of a table as VNode. */ export declare function createRow(id: string, values: Cell[], headers: string[]): VNode; /** * Creates a cell of a table as VNode. * @param value The value of the cell. * @returns a cell of a table as VNode. */ export declare function createCell(id: string, value: Cell): VNode; //# sourceMappingURL=html.d.ts.map