import { ViewContainerRef, ComponentFactoryResolver } from '@angular/core'; import { ScrollStrategy } from '@angular/cdk/overlay'; import { Direction } from '@angular/cdk/bidi'; export declare type DialogRole = 'dialog' | 'alertdialog'; export declare type OverlayType = 'modal' | 'bottomSheet' | 'rightSheet'; export interface DialogPosition { /** Override for the dialog's top position. */ top?: string; /** Override for the dialog's bottom position. */ bottom?: string; /** Override for the dialog's left position. */ left?: string; /** Override for the dialog's right position. */ right?: string; } export declare class GritOverlayConfig { viewContainerRef?: ViewContainerRef; id?: string; role?: DialogRole; disableClose?: boolean; overlayType?: OverlayType; autoFocus?: boolean; restoreFocus?: boolean; data?: D | null; /** Position overrides. */ position?: DialogPosition; ariaDescribedBy?: string | null; ariaLabelledBy?: string | null; ariaLabel?: string | null; /** Required attributes cdk Overlay to function */ scrollStrategy?: ScrollStrategy; direction?: Direction; closeOnNavigation?: boolean; hasBackdrop?: boolean; backdropClass?: string; componentFactoryResolver?: ComponentFactoryResolver; /** Width of the dialog. */ maxWidth?: string; /** Height of the dialog. */ minHeight?: string; /** Custom class for the overlay pane. */ panelClass?: string | string[]; }