import { ApplicationRef, Injector, ComponentFactoryResolver } from "@angular/core";
import { Toast } from "./types/toast";
import * as i0 from "@angular/core";
export declare class ToastService {
    private appRef;
    private injector;
    private componentFactoryResolver;
    private activeToasts;
    private globalToastHostElement;
    constructor(appRef: ApplicationRef, injector: Injector, componentFactoryResolver: ComponentFactoryResolver);
    private ensureGlobalToastHost;
    show(toast: Toast): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
}
