import { ComponentFactoryResolver, ComponentRef, TemplateRef, Type } from '@angular/core'; import { NbComponentType, NbOverlay, NbOverlayConfig, NbOverlayRef } from './mapping'; import { NbScrollStrategyOptions } from '../adapter/block-scroll-strategy-adapter'; import { NbLayoutDirectionService } from '../../../services/direction.service'; export declare type NbOverlayContent = Type | TemplateRef | string; export declare function patch(container: ComponentRef, containerContext: Object): ComponentRef; export declare function createContainer(ref: NbOverlayRef, container: NbComponentType, context: Object, componentFactoryResolver?: ComponentFactoryResolver): ComponentRef; export declare class NbOverlayService { protected overlay: NbOverlay; protected layoutDirection: NbLayoutDirectionService; constructor(overlay: NbOverlay, layoutDirection: NbLayoutDirectionService); get scrollStrategies(): NbScrollStrategyOptions; create(config?: NbOverlayConfig): NbOverlayRef; }