/**
 * Tiny pub/sub used by `ToastContext` so non-React code can fire a
 * toast. Replaces an out-of-tree port artifact (`../../../../utils/...`).
 */
import type { ToastType } from '../components/Toast';
type Listener = (toast: ToastType) => void;
export declare const toastEmitter: {
    subscribe(fn: Listener): () => void;
    emit(toast: ToastType): void;
};
export {};
//# sourceMappingURL=toastEmitter.d.ts.map