import { EditorTag } from '../types/editor_tag'; import { DataType } from '../types/data_type'; import { ValueEditorDTO } from './dto/value_editor_dto'; /** * Represents a value editor. */ export declare class ValueEditor { /** The ID. */ id: string; /** The tag. */ tag: EditorTag; /** * The type of the result. */ resType: DataType; /** * The default value of the editor. */ defValue: string; /** * The name of the value editor. */ name?: string; /** * The statement. */ statement?: string; /** * The accept */ accept?: string; /** * Gets or sets a value indicating whether the value editor is multiline. */ multiline?: boolean; /** The parent attribute to depend on. */ dependsOnAttr?: string; /** * Gets or sets the list of values. */ values?: { id: string; text: string; }[]; /** Extra parameters */ extraParams?: any; processValues?: (values: any[]) => any; /** The default constructor. */ constructor(); /** * Loads value editor from its JSON representation object. * @param data The JSON representation object. */ loadFromData(data: ValueEditorDTO): void; getValueText(value: string | string[]): string; }