import { type OutputEmitterRef, type Type, type WritableSignal } from "@angular/core"; import type { DirectiveInputSignals } from "../directive-input-signals"; import "@simplysm/core-browser"; import * as i0 from "@angular/core"; export type SdToastSeverity = "info" | "success" | "warning" | "danger"; export type SdToastTheme = "primary" | "secondary" | SdToastSeverity | "gray" | "blue-gray"; export interface SdToastContentDef { close: OutputEmitterRef; } export interface SdToastInput> { type: Type; inputs: Omit, "close">; } export declare class SdToastProvider { private readonly _appRef; private readonly _envInjector; private readonly _injector; private readonly _sdSystemLog; alertThemes: WritableSignal; overlap: WritableSignal; beforeShowFn?: (theme: SdToastSeverity) => void; private _containerRef; private readonly _toastRefs; private readonly _contentRefs; constructor(); private _getContainerRef; info(message: string, useProgress?: true): WritableSignal; info(message: string, useProgress?: false): void; success(message: string, useProgress?: true): WritableSignal; success(message: string, useProgress?: false): void; warning(message: string, useProgress?: true): WritableSignal; warning(message: string, useProgress?: false): void; danger(message: string, useProgress?: true): WritableSignal; danger(message: string, useProgress?: false): void; notify>(input: SdToastInput): Promise[0] | undefined>; try(fn: () => Promise, messageFn?: (err: Error) => string): Promise; try(fn: () => R, messageFn?: (err: Error) => string): R | undefined; private _show; private _setupAutoDismiss; private _dismissToast; private _destroyToast; private _removeAllToasts; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=sd-toast.provider.d.ts.map