import { Observable } from 'rxjs'; import { ToastifyRemoteControl } from '../models'; import * as i0 from "@angular/core"; type RemoteControlType = ToastifyRemoteControl; export declare class PublicToastService { private service; private queueService; private state; /** * An Observable that emits the count of active toasts by listening to the state changes * and calculates the total number of active toasts. */ activeToastCount$: Observable; /** * Retrieves the ToastRemoteControl object associated with a specific toast ID. * @param {string} id The unique identifier for the toast. * @returns {ToastRemoteControl | undefined} The ToastRemoteControl object if found, otherwise undefined. */ getRemoteControl(id: string): RemoteControlType | undefined; /** * Returns an Observable that emits the ToastRemoteControl object for a given toast ID. * The Observable filters out any undefined states, ensuring subscribers only receive defined ToastRemoteControl objects. * @param {string} id The unique identifier for the toast. * @returns {Observable} An Observable emitting the ToastRemoteControl object or undefined. */ selectRemoteControl$(id: string): Observable; /** * Triggers the closing of all toasts. */ closeAll(): void; /** * Retrieves the length of the toast queue. */ getQueueLength(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {};