import { Type } from '@angular/core'; import { Widget } from './widget'; import { DateTimeComponent } from '../../../sculptor-lib/widgets/date-time/date-time.component'; import { PropertyPanelFieldMetadata } from '../common/property-panel-field'; declare type DateTimeValue = Type; export declare class DateTime extends Widget { component: Type; value: DateTimeValue; datePickerType: string; dateFormat: string; allowPast: boolean; allowFuture: boolean; toDatelabel: string; displayDateFormat: string; fromDateLabel: string; displayDateTimeFormat: string; displayTimeFormat: string; otherDisplayDateTimeFormat: string; widgetIcon: string; constructor(field?: DateTime); /** * get widget value * * @returns */ getWidgetValue(): any; /** * Set widget Value * * @param value */ setWidgetValue(value: any): void; /** * this will return serialize of widget */ getWidgetSerializedValue(): string; newDateTime(): void; /**function to create Date-Time object with existing values * *@param field * */ dateTimeObject(field: any): void; createValidators(): void; getInputType(inputType: any): string; /** * Create FormControl for widget */ createFormControl(): void; static getPropertyPanelFieldMetadata(target: any, key: string): PropertyPanelFieldMetadata; getPropertyPanelFieldUIProperties(): any; } export {};