import { ComponentFactoryResolver, ComponentRef, TemplateRef, Type } from '@angular/core';
import { ElComponentType, ElOverlay, ElOverlayConfig, ElOverlayRef, ElScrollStrategyOptions } from './mapping';
import { ElLayoutDirectionService } from '../../../services/direction.service';
export declare type ElOverlayContent = Type<any> | TemplateRef<any> | string;
export declare function patch<T>(container: ComponentRef<T>, containerContext: Object): ComponentRef<T>;
export declare function createContainer<T>(ref: ElOverlayRef, container: ElComponentType<T>, context: Object, componentFactoryResolver?: ComponentFactoryResolver): ComponentRef<T>;
export declare class ElOverlayService {
    protected overlay: ElOverlay;
    protected layoutDirection: ElLayoutDirectionService;
    constructor(overlay: ElOverlay, layoutDirection: ElLayoutDirectionService);
    readonly scrollStrategies: ElScrollStrategyOptions;
    create(config?: ElOverlayConfig): ElOverlayRef;
}
