import { DynamicToastParams } from './types';
export declare const toastObserver: {
    subscribe: (key: string, fn: (data: DynamicToastParams) => void) => void;
    unsubscribe: (key: string) => void;
    dispatch: (data: DynamicToastParams) => void;
};
/**
 * Imperatively triggers a new toast inside every mounted `<Toast>` component.
 *
 * The `<Toast>` component must be mounted somewhere in the tree (typically near
 * the app root) for dispatched toasts to be displayed.
 *
 * @example
 * ```ts
 * import { showToast, ToastVariants } from '@ssa-ui-kit/core';
 *
 * // Simple
 * showToast({ variant: ToastVariants.secondary, title: 'File saved' });
 *
 * // Semantic variant with progress bar
 * showToast({ variant: ToastVariants.success, title: 'Uploading…', withProgress: true });
 *
 * // Fully custom content (outer card + progress bar still render)
 * showToast({
 *   variant: ToastVariants.secondary,
 *   renderProp: (close) => <MyCard onDismiss={close} />,
 * });
 * ```
 */
export declare const showToast: (params: DynamicToastParams) => void;
