import { MatDialogRef } from '@angular/material/dialog';
import { AbstractTransitionWatcherDirective } from '@dereekb/dbx-core';
import * as i0 from "@angular/core";
/**
 * Abstract dialog component that closes when a transition is successful.
 */
export declare abstract class AbstractDialogDirective<R = unknown, D = unknown, T = unknown> extends AbstractTransitionWatcherDirective {
    readonly data: D;
    readonly dialogRef: MatDialogRef<any, any>;
    protected updateForSuccessfulTransition(): void;
    returnValue(value?: R): void;
    close(value?: R): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AbstractDialogDirective<any, any, any>, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<AbstractDialogDirective<any, any, any>, never, never, {}, {}, never, never, false, never>;
}
