import { Type } from '@angular/core'; import { Widget } from './widget'; import { Case } from '../common/widget-enums'; import { PropertyPanelFieldMetadata } from '../common/property-panel-field'; import { TextBoxComponent } from '../../../sculptor-lib/widgets/textbox/textbox.component'; declare type TextBoxValueValue = Type; export declare class TextBox extends Widget { component: Type; value: TextBoxValueValue; widgetIcon: string; inputType: string; minLength: number; maxLength: number; mask: string; isMultiline: boolean; case: Case; defaultCase: string; onValueEdit: string; choices: string; defaultText: string; otherMask: string; isOtpVerificationRequired: boolean; validityDependents: []; mastringType: string; maxDecimal: string; minNumber: string; allowMultipleEmails: boolean; saveNumber: string; maxNumber: string; dependants: string; submitWithoutVerification: string; valueWithoutMask: string; markup: string; unit: string; multiSelect: boolean; constructor(field?: any); /** * get widget value * * @returns */ getWidgetValue(): any; /** * Set widget Value * * @param value */ setWidgetValue(value: any): void; /** * this will return serialize of widget */ getWidgetSerializedValue(): string; /**function to create text-box object with existing values * *@param field * */ textBox(field: any): void; newTextBox(): void; static getPropertyPanelFieldMetadata(target: any, key: string): PropertyPanelFieldMetadata; getPropertyPanelFieldUIProperties(): any; } export {};