import { IDialogController } from '../IDialogController';
import { IHasModel } from '../IHasModel';
/**
 * <p style="text-indent: 2em;">
 * An interface of child component class of [[PhloxDialog]] component. This interface is <b>intended to be used internally</b> by the framework.
 * Hence, you should NOT use or implement this interface. If you want to implement a custom dialog, please use <code>component dialog</code> (see
 * [[PhloxDialog.showComponentDialog]] for more details).
 * </p>
 *
 * @author shiorin, tee4cute
 * @see [[PhloxDialog]]
 */
export interface IDialog extends IHasModel, IDialogController {
    /**
     * <p style="text-indent: 1em;">
     * Show <code>this</code> child-view dialog. This method should be called by [[PhloxDialog]] only.
     * </p>
     */
    showDialog(): void;
    /**
     * <p style="text-indent: 1em;">
     * Hide <code>this</code> child-view dialog. This method should be called by [[PhloxDialog]] only.
     * </p>
     */
    hideDialog(): void;
    /**
     * <p style="text-indent: 1em;">
     * To check that <code>this</code> child-view dialog is being showed or not. This method should be called by [[PhloxDialog]] only.
     * </p>
     */
    isShow(): boolean;
}
