import { UNSTABLE_ToastQueue as RACToastQueue } from 'react-aria-components'; import type { InternalToastContent, UNSTABLE_ToastOptions } from './types.js'; export declare const internalToastQueue: RACToastQueue; /** * Manages the queue of toasts. */ export interface UNSTABLE_ToastQueue { /** * Add an info toast to the queue. * @returns The ID of the toast */ info(message: string, options?: UNSTABLE_ToastOptions): string; /** * Add a success toast to the queue. * @returns The ID of the toast */ success(message: string, options?: UNSTABLE_ToastOptions): string; /** * Add a warning toast to the queue. * @returns The ID of the toast */ warning(message: string, options?: UNSTABLE_ToastOptions): string; /** * Add a critical toast to the queue. * @returns The ID of the toast */ critical(message: string, options?: UNSTABLE_ToastOptions): string; /** * Close a toast. * @param id The ID of the toast to close */ close(id: string): void; /** * Clear the queue. */ clear(): void; } export declare const UNSTABLE_toastQueue: UNSTABLE_ToastQueue; //# sourceMappingURL=toast-queue.d.ts.map