import type { Column, CompositeEditorOption } from './models/index.js'; /** * A composite SlickGrid editor factory. * Generates an editor that is composed of multiple editors for given columns. * Individual editors are provided given containers instead of the original cell. * Validation will be performed on all editors individually and the results will be aggregated into one * validation result. * * * The returned editor will have its prototype set to CompositeEditor, so you can use the "instanceof" check. * * NOTE: This doesn't work for detached editors since they will be created and positioned relative to the * active cell and not the provided container. * * @namespace Slick * @class CompositeEditor * @constructor * @param columns {Array} Column definitions from which editors will be pulled. * @param containers {Array} Container HTMLElements in which editors will be placed. * @param options {Object} Options hash: * validationFailedMsg - A generic failed validation message set on the aggregated validation resuls. * validationMsgPrefix - Add an optional prefix to each validation message (only the ones shown in the modal form, not the ones in the "errors") * modalType - Defaults to "edit", modal type can 1 of these 3: (create, edit, mass, mass-selection) * hide - A function to be called when the grid asks the editor to hide itself. * show - A function to be called when the grid asks the editor to show itself. * position - A function to be called when the grid asks the editor to reposition itself. * destroy - A function to be called when the editor is destroyed. */ export declare function SlickCompositeEditor(columns: Column[], containers: Array, options: CompositeEditorOption): { (args: any[]): void; prototype: any; }; //# sourceMappingURL=slick.compositeeditor.d.ts.map