import { EventEmitter } from '../../stencil-public-runtime';
import { DialogSize } from './exports';
export declare class Dialog {
host: HTMLRDialogElement;
/** Define if dialog either shown or hidden. */
open: boolean;
/** A value indicating the result of a user’s
* interaction with the dialog, used to determine what action
* the user took before closing the dialog.
*
* For example, it can differentiate between whether the user
* clicked a “Confirm” button or a “Cancel” button.
*/
returnValue?: string;
/**
* Allows to provide headline text to the dialog header section.
*/
headline?: string;
/**
* Allows plain text to be provided to the body of the dialog
* in cases where markup is not required. For more complex cases,
* including those requiring HTML markup,
* use
...
.
*/
bodyText?: string;
/**
* Allows to set height of the dialog body container
* while the value is smaller then `max-height` of the
* dialog body pre-set according to the `size` prop.
*/
bodyHeight: string;
/**
* Defines one of pre-defined sizes of the dialog.
*/
size: DialogSize;
/**
* Allows plain text to be provided to the close button of the dialog.
* */
closeAriaLabel: string;
/**
* Defines if dialog is currently revealed.
* */
isOpen: boolean;
handleOpenChange(): void;
private dialogElement;
private uniqueId;
private get dialogLabel();
/**
* Emitted when the dialog is closed.
* Fired by close(), and by the close button.
*/
dialogClose: EventEmitter;
/** Method to display a modal dialog */
showModal(): Promise;
/** Method to display a non-modal dialog */
close(): Promise;
/** Method to either show or hide dialog
* depending on the current state. */
toggle(): Promise;
private _renderInitialState;
private connectEventListeners;
private disconnectEventListeners;
componentDidLoad(): void;
disconnectedCallback(): void;
private onTriggerClick;
private isInside;
onMouseup(event: any): void;
render(): any;
}