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'; import * as i0 from "@angular/core"; export 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; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }