import { InjectionToken, Injector } from '@angular/core';
import { Overlay, OverlayConfig } from '@angular/cdk/overlay';
import { GrwitDialogRef } from '@grwit/blocks/dialog/dialog-ref';
interface GrwitDialogConfig extends OverlayConfig {
    panelClass?: string;
    hasBackdrop?: boolean;
    backdropClass?: string;
    data?: any;
}
export declare const GRWIT_DIALOG_DATA: InjectionToken<any>;
export declare class GrwitDialog {
    private injector;
    private readonly overlay;
    dialogRef: any;
    constructor(injector: Injector, overlay: Overlay);
    private handleKeydown;
    open(component: any, config?: GrwitDialogConfig): GrwitDialogRef;
    private attachDialogContainer;
    private createInjector;
    private getOverlayConfig;
    private createOverlay;
}
export {};
