/**
* DevExtreme (ui/date_box.d.ts)
* Version: 21.1.0 (build 21016-0316)
* Build date: Sat Jan 16 2021
*
* Copyright (c) 2012 - 2021 Developer Express Inc. ALL RIGHTS RESERVED
* Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
*/
import {
    dxCalendarOptions
} from './calendar';

import dxDropDownEditor, {
    dxDropDownEditorOptions
} from './drop_down_editor/ui.drop_down_editor';

import {
    format
} from './widget/ui.widget';

/**
 * Warning! This type is used for internal purposes. Do not import it directly.
 */
export interface dxDateBoxOptions extends dxDropDownEditorOptions<dxDateBox> {
    /**
     */
    adaptivityEnabled?: boolean;
    /**
     */
    applyButtonText?: string;
    /**
     */
    calendarOptions?: dxCalendarOptions;
    /**
     */
    cancelButtonText?: string;
    /**
     */
    dateOutOfRangeMessage?: string;
    /**
     */
    dateSerializationFormat?: string;
    /**
     */
    disabledDates?: Array<Date> | ((data: { component?: dxDateBox, date?: Date, view?: string }) => boolean);
    /**
     */
    displayFormat?: format;
    /**
     */
    interval?: number;
    /**
     */
    invalidDateMessage?: string;
    /**
     */
    max?: Date | number | string;
    /**
     */
    min?: Date | number | string;
    /**
     */
    pickerType?: 'calendar' | 'list' | 'native' | 'rollers';
    /**
     */
    placeholder?: string;
    /**
     */
    showAnalogClock?: boolean;
    /**
     */
    type?: 'date' | 'datetime' | 'time';
    /**
     */
    useMaskBehavior?: boolean;
    /**
     */
    value?: Date | number | string;
}
/**
 */
export default class dxDateBox extends dxDropDownEditor {
    constructor(element: Element, options?: dxDateBoxOptions)
    constructor(element: JQuery, options?: dxDateBoxOptions)
    /**
     */
    close(): void;
    /**
     */
    open(): void;
}

declare global {
interface JQuery {
    dxDateBox(): JQuery;
    dxDateBox(options: "instance"): dxDateBox;
    dxDateBox(options: string): any;
    dxDateBox(options: string, ...params: any[]): any;
    dxDateBox(options: dxDateBoxOptions): JQuery;
}
}
/**
 * Warning! This type is used for internal purposes. Do not import it directly.
 */
export type Options = dxDateBoxOptions;

/** @deprecated use Options instead */
/**
 * Warning! This type is used for internal purposes. Do not import it directly.
 */
export type IOptions = dxDateBoxOptions;
