/** * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ import type { Element, ElementCreatorFunction } from 'ckeditor5/src/engine'; import type TableUtils from '../tableutils'; import type { AdditionalSlot } from '../tableediting'; /** * Model table element to view table element conversion helper. */ export declare function downcastTable(tableUtils: TableUtils, options: DowncastTableOptions): ElementCreatorFunction; /** * Model table row element to view `
` element.
*
* @param options.asWidget If set to `true`, the downcast conversion will produce a widget.
* @returns Element creator.
*/
export declare function convertParagraphInTableCell(options?: {
asWidget?: boolean;
}): ElementCreatorFunction;
/**
* Checks if given model ` `
*/
export declare function isSingleParagraphWithoutAttributes(modelElement: Element): boolean;
export interface DowncastTableOptions {
/**
* If set to `true`, the downcast conversion will produce a widget.
*/
asWidget?: boolean;
/**
* Array of additional slot handlers.
*/
additionalSlots: Array