import type { ToastrOptions } from './types';
import type { Snippet } from 'svelte';
/**
* Static API to push toasts from anywhere. The default container is lazily
* auto-mounted to `
` on first call. Route to other containers by
* mounting `` and passing `containerId: '...'` in options.
*/
export declare class Toastr {
static info: (message: string | Snippet, options?: ToastrOptions) => number;
static success: (message: string | Snippet, options?: ToastrOptions) => number;
static warning: (message: string | Snippet, options?: ToastrOptions) => number;
static error: (message: string | Snippet, options?: ToastrOptions) => number;
static dismiss: (id: number, containerId?: string) => void;
static clear: (containerId?: string) => void;
/** List of currently-mounted container ids — useful for routing UIs. */
static mountedContainers: () => string[];
}