///
import { ElementRef, Renderer, IterableDiffers } from "@angular/core";
import { IgContentControlBase } from "../igcontrolbase/igcontentcontrolbase";
export declare class IgDialogComponent extends IgContentControlBase {
constructor(el: ElementRef, renderer: Renderer, differs: IterableDiffers);
/**
* Destroys the igDialog and moves the target element to its original parent.
*/
destroy(): Object;
/**
* Gets/Sets the state of the editor.
* Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised.
*
* @param state New state.
*/
state(state?: string): string;
/**
* Gets reference to the dynamically created DIV element which represents the dialog.
*/
mainElement(): Element;
/**
* Closes the dialog if it is opened.
* Notes:
* 1. If the state of the dialog changes, then stateChanging and stateChanged events are raised.
* 2. That method does not change minimized or maximized state of the dialog.
* It means that method "open" will open the dialog and keep previous minimized or maximized state.
*
* @param e Browser event: internal use only.
*/
close(e?: Object): Object;
/**
* Opens the dialog if it is closed. Notes:
* 1. If the state of the dialog changes, then stateChanging and stateChanged events are raised.
* 2. That method does not change minimized or maximized state of the dialog. It means that if the dialog was in minimized or maximized stated when closed by "close" method, then the dialog will open in minimized or maximized state respectively.
*/
open(): Object;
/**
* Minimizes the dialog if it is not minimized.
* Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised.
*/
minimize(): Object;
/**
* Maximizes the dialog if it is not maximized.
* Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised.
*/
maximize(): Object;
/**
* Sets the normal state for the dialog if it was maximized or minimized.
* Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised.
*/
restore(): Object;
/**
* Pins the dialog if it is not pinned.
* When the dialog is pinned, then the html element of the dialog is moved to the original container where the target element was located and position:absolute is removed.
* The pinned dialog does not support modal state, maximized state and it can not be moved.
* Notes:
* 1. If the parent element of the original target-element is invisible, then the pinned dialog becomes invisible as well.
* 2. If the state of the dialog changes, then stateChanging and stateChanged events are raised.
*/
pin(): Object;
/**
* Unpins the dialog if it is pinned.
* Note: If the state of the dialog changes, then stateChanging and stateChanged events are raised.
*/
unpin(): Object;
/**
* Gets a reference to the top modal dialog.
*/
getTopModal(): Object;
/**
* Checks if the dialog is modal and if it is currently active.
*/
isTopModal(): boolean;
/**
* Moves a not modal dialog to the top.
*
* @param e Original event of browser.
*/
moveToTop(e?: Object): Object;
/**
* Retrieves the igDialog content container or sets its content to be the new content provided.
*
* @param newContent The new html content provided as a string. If the parameter is provided then the method acts as a setter.
*/
content(newContent?: string): Object;
}