import { Type } from '@angular/core'; import { Widget } from './widget'; import { Case, WidgetLayout } from '../common/widget-enums'; import { PropertyPanelFieldMetadata } from '../common/property-panel-field'; import { ChoicesMl } from './widget-value/choices-ml'; import { ButtonComponent } from '../../../sculptor-lib/widgets/button/button/button.component'; declare type ButtonValue = Type; export declare class Button extends Widget { component: Type; value: ButtonValue; inputType: string; helpText: string; minLength: string; maxLength: String; mask: string; isMultiline: boolean; case: Case; defaultCase: string; onValueEdit: string; defaultText: string; otherMask: string; isOtpVerificationRequired: boolean; mastringType: string; maxDecimal: string; minNumber: string; allowMultipleEmails: boolean; saveNumber: string; maxNumber: string; dependents: []; submitWithoutVerification: string; unit: string; multiSelect: boolean; choicesMl: ChoicesMl; repopulateValue: boolean; widgetLayout: WidgetLayout; choices: string; hiChoices: string; marChoices: string; telChoices: string; frChoices: string; arChoices: string; JPChoices: string; IDChoices: string; THChoices: string; CNChoices: string; name: string; 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 search object with existing values * *@param field * */ Button(field: any): void; newButton(): void; static getPropertyPanelFieldMetadata(target: any, key: string): PropertyPanelFieldMetadata; getPropertyPanelFieldUIProperties(): any; } export {};