declare namespace Ext { export namespace window { export interface WindowConfig { actions?: object; activeItem?: string | number; alignOnScroll?: boolean; alignTarget?: string; alwaysOnTop?: boolean | number; anchor?: string; anchorSize?: number | object; animateShadow?: boolean; animateTarget?: string | Ext.dom.Element | Ext.Component | boolean; animCollapse?: boolean | number; ariaAttributes?: object; ariaDescribedBy?: string; ariaLabel?: string; ariaLabelledBy?: string; autoDestroy?: boolean; autoEl?: string | object; autoRender?: boolean; autoScroll?: boolean; autoShow?: boolean; baseCls?: string; bbar?: object | object[]; bind?: object | string; bodyBorder?: boolean; bodyCls?: string | string[]; bodyPadding?: number | string; bodyStyle?: string | object | CallableFunction; border?: boolean; bubbleEvents?: string[]; buttonAlign?: string; buttons?: object[]; childEls?: object | string[] | object[]; closable?: boolean; closeAction?: string; closeToolText?: string; cls?: string | string[]; collapsed?: boolean; collapsedCls?: string; collapseDirection?: string; collapseFirst?: boolean; collapseMode?: string; collapseToolText?: string; collapsible?: boolean; columnWidth?: number; componentCls?: string; componentLayout?: string | object; constrain?: boolean; constrainHeader?: boolean; constraintInsets?: object | string; constrainTo?: Ext.util.Region | Ext.dom.Element; contentEl?: string; controller?: string | object | Ext.app.ViewController; data?: object; defaultAlign?: string; defaultButton?: string; defaultButtonTarget?: string; defaultDockWeights?: object; defaultFocus?: string | number | Ext.Component; defaultListenerScope?: boolean; defaults?: object | CallableFunction; defaultType?: string; detachOnRemove?: boolean; disabled?: boolean; disabledCls?: string; dock?: 'top' | 'bottom' | 'left' | 'right'; dockedItems?: object | object[]; draggable?: boolean; expandOnShow?: boolean; expandToolText?: string; fbar?: object | object[]; fixed?: boolean; flex?: number; floatable?: boolean; floating?: boolean; focusCls?: string; focusOnToFront?: boolean; formBind?: boolean; frame?: boolean; frameHeader?: boolean; ghost?: boolean | CallableFunction; glyph?: number | string; header?: boolean | object; headerOverCls?: string; headerPosition?: 'top' | 'bottom' | 'left' | 'right'; height?: number | string; hidden?: boolean; hideCollapseTool?: boolean; hideMode?: string; hideShadowOnDeactivate?: boolean; html?: string | object; icon?: string; iconAlign?: 'top' | 'right' | 'bottom' | 'left'; iconCls?: string; id?: string; itemId?: string; items?: object | object[]; keyMap?: object; keyMapEnabled?: boolean; keyMapTarget?: string; layout?: object | Ext.react.enums.Layout; lbar?: object | object[]; liquidLayout?: boolean; listeners?: object; liveDrag?: boolean; loader?: Ext.ComponentLoader | object; manageHeight?: boolean; margin?: number | string; maskClickAction?: string; maskElement?: string; maxHeight?: number; maximizable?: boolean; maximized?: boolean; maxWidth?: number; minButtonWidth?: number; minHeight?: number; minimizable?: boolean; minWidth?: number; modal?: boolean; modelValidation?: boolean; monitorResize?: boolean; onEsc?: CallableFunction; overCls?: string; overflowX?: string; overflowY?: string; overlapHeader?: boolean; padding?: number | string; placeholder?: Ext.Component | object; placeholderCollapseHideMode?: number; plain?: boolean; plugins?: Ext.plugin.Abstract[] | Ext.plugin.Abstract | object[] | object | Ext.react.enums.Plugin | Ext.react.enums.Plugin[]; preventHeader?: boolean; publishes?: string | string[] | object; rbar?: object | object[]; reference?: string; referenceHolder?: boolean; region?: "north" | "south" | "east" | "west" | "center"; renderConfig?: object; renderData?: object; renderSelectors?: object; renderTo?: string | Ext.dom.Element; renderTpl?: Ext.XTemplate | string | string[]; resizable?: boolean | object; resizeHandles?: string; saveDelay?: number; scrollable?: boolean | string | object; session?: boolean | object | Ext.data.Session; shadow?: string | boolean; shadowOffset?: number; shim?: boolean; shrinkWrap?: number; shrinkWrapDock?: boolean | number; stateEvents?: string[]; stateful?: boolean | object; stateId?: string; style?: string | object; suspendLayout?: boolean; tabIndex?: number; tbar?: object | object[]; title?: string | object; titleAlign?: 'left' | 'center' | 'right'; titleCollapse?: boolean; titleRotation?: 'default' | 0 | 1 | 2; toFrontOnShow?: boolean; tools?: object[] | Ext.panel.Tool[]; touchAction?: object; tpl?: Ext.XTemplate | Ext.Template | string | string[]; tplWriteMode?: string; twoWayBindable?: string | string[] | object; ui?: string; userCls?: string | string[]; viewModel?: string | object | Ext.app.ViewModel; weight?: number; width?: number | string; x?: number; xtype?: string; y?: number; } export class Window extends Ext.panel.Panel { public dd?: Ext.util.ComponentDragger; public isWindow?: boolean; public getX(): void; public getY(): void; public maximize(animate?: boolean): Ext.window.Window; public minimize(): Ext.window.Window; public restore(animate?: boolean): Ext.window.Window; public setX(x?: number): void; public setY(y?: number): void; public toggleMaximize(): Ext.window.Window; } } }