/**
 * @license
 * Copyright Tyler Technologies, Inc. 
 * License: Apache-2.0
 */
import { BaseAdapter, IBaseAdapter } from '../core/base/base-adapter';
import { IDialogComponent } from './dialog';
export interface IDialogAdapter extends IBaseAdapter<IDialogComponent> {
    readonly hostElement: IDialogComponent;
    readonly moveHandleElement: HTMLElement;
    readonly surfaceElement: HTMLElement;
    triggerElement: HTMLElement | null;
    show(): void;
    hide(): Promise<void>;
    addDialogFormSubmitListener(listener: EventListener): void;
    removeDialogFormSubmitListener(listener: EventListener): void;
    addDialogCancelListener(listener: EventListener): void;
    removeDialogCancelListener(listener: EventListener): void;
    addBackdropDismissListener(listener: EventListener): void;
    removeBackdropDismissListener(listener: EventListener): void;
    tryAutofocus(): void;
    tryLocateTriggerElement(id: string | null): void;
    addTriggerInteractionListener(listener: EventListener): void;
    removeTriggerInteractionListener(listener: EventListener): void;
    hideBackdrop(): void;
    showBackdrop(): void;
    addSurfaceClass(className: string): void;
    removeSurfaceClass(className: string): void;
}
export declare class DialogAdapter extends BaseAdapter<IDialogComponent> implements IDialogAdapter {
    private _dialogElement;
    private _surfaceElement;
    private _backdropElement;
    private _moveHandleElement;
    triggerElement: HTMLElement | null;
    get moveHandleElement(): HTMLElement;
    get surfaceElement(): HTMLElement;
    constructor(component: IDialogComponent);
    show(): void;
    private _hideBackdrops;
    private _showBackdropMostRecent;
    hide(): Promise<void>;
    addDialogFormSubmitListener(listener: EventListener): void;
    removeDialogFormSubmitListener(listener: EventListener): void;
    addDialogCancelListener(listener: EventListener): void;
    removeDialogCancelListener(listener: EventListener): void;
    addBackdropDismissListener(listener: EventListener): void;
    removeBackdropDismissListener(listener: EventListener): void;
    tryAutofocus(): void;
    tryLocateTriggerElement(id: string | null): void;
    addTriggerInteractionListener(listener: EventListener): void;
    removeTriggerInteractionListener(listener: EventListener): void;
    hideBackdrop(): void;
    showBackdrop(): void;
    addSurfaceClass(className: string): void;
    removeSurfaceClass(className: string): void;
}
