///
import dxPopup from 'devextreme/ui/popup';
import { ElementFocusStrategy, FocusableItem } from '../../../common/_helpers';
export declare let dialogClasses: {
form: string;
formWrapper: string;
simpleDialog: string;
element: string;
elementLargeMarginTop: string;
elementSmallMarginTop: string;
name: string;
disabledName: string;
box: string;
buttons: string;
elementTextBox: string;
elementNumberBox: string;
};
export declare let dialogSizes: {
width: number;
height: number;
minWidth: number;
minHeight: number;
};
export interface DialogFormOptions {
allowScrolling: boolean;
fullScreenMode?: boolean;
dialogContainer: Element;
title?: string;
width: number | string;
height: number | string;
deferredRendering: boolean;
buttons: Array<{
className?: string;
name?: string;
hide?: boolean;
func?: (...args: any[]) => void;
isDefault?: boolean;
disabled?: () => boolean;
}>;
setActualState: (width: number) => void;
onShowing?: (args: any) => void;
onHidden?: (args: any) => void;
onShown?: (args: any) => void;
renderContent: (args: any) => HTMLElement;
disposeContent: () => void;
closeDisabled?: () => boolean;
}
export declare class dialogForm {
options: DialogFormOptions;
popupInstance: dxPopup;
scrollableContent: HTMLElement;
controlCreationCallbacks: JQuery.Callbacks;
private focusableItem;
constructor(options: DialogFormOptions);
setFocusRestoreItem(item: FocusableItem): void;
showDialog(): void;
hideDialog(): void;
dispose(): void;
_initialize(): void;
_renderPopupContent(component: dxPopup): void;
_setLabelsWidth(): number;
}
export declare class PopupDialogFocusRestoreStrategy extends ElementFocusStrategy {
targetButtonClass: string;
RestoreFocus(item: FocusableItem): void;
}