import { ComponentFactoryResolver, ComponentRef, Type, ViewContainerRef } from '@angular/core';
import { DynamicComponentRegistryService } from './dynamic-component-registry.service';
import { IDynamicComponent } from './interfaces';
import * as i0 from "@angular/core";
export declare class DynamicComponentFactoryService {
    private registry;
    private resolver;
    constructor(registry: DynamicComponentRegistryService, resolver: ComponentFactoryResolver);
    createByType(container: ViewContainerRef, componentType: Type<any>): ComponentRef<IDynamicComponent>;
    createByName(container: ViewContainerRef, typeName: string): ComponentRef<IDynamicComponent>;
    static ɵfac: i0.ɵɵFactoryDeclaration<DynamicComponentFactoryService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DynamicComponentFactoryService>;
}
