import { ComponentType } from '@angular/cdk/portal';
import { ApplicationRef, ComponentFactoryResolver, TemplateRef } from '@angular/core';
import { ToastContentConfig, ToastServiceConfig } from './toast.model';
import * as i0 from "@angular/core";
export declare class ToastService {
    private componentFactoryResolver;
    private appRef;
    private portalHost;
    private containerPortalHost;
    private containerRef;
    private config;
    constructor(componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef);
    /**
     * Opens a toast wrapped inside a ng-template or a Component
     */
    open(content: TemplateRef<any> | ComponentType<any>, config: ToastContentConfig): any;
    /**
     * Set config
     */
    setConfig(config: ToastServiceConfig): void;
    private setContainerInputs;
    private attachContainer;
    static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
}
