import type { UniqueID } from '../../../functions';
import type { IDialogConfig } from './dialog-config.interface';
export declare class DialogRef<TResult = unknown, TData = unknown> {
    private readonly _dialogID;
    private readonly _dialogEl;
    private _afterOpenedCallback;
    private _afterClosedCallback;
    private _data;
    private _disableClose;
    private readonly _handleCancel;
    private readonly _handleBackdropClick;
    constructor(_dialogID: UniqueID, _dialogEl: HTMLDialogElement);
    get dialogID(): UniqueID;
    get data(): TData | undefined;
    get disableClose(): boolean;
    applyConfig(config: IDialogConfig<TData>): this;
    open(): void;
    close(result?: TResult): void;
    afterOpened(callback: () => void): void;
    afterClosed(callback: (result: TResult | undefined) => void): void;
    private onCancel;
    private onBackdropClick;
}
//# sourceMappingURL=dialog-ref.class.d.ts.map