import * as React from 'react'; import type { ToastData } from '../../../components/toast/index.js'; export interface GlassToastOptions { message?: React.ReactNode; title?: React.ReactNode; /** 4.x body line under the title — maps onto ToastData.description. */ description?: React.ReactNode; type?: string; duration?: number; } export interface UseToastCompatReturn { toast: (opts: GlassToastOptions | string) => string; addToast: (opts: GlassToastOptions) => string; dismiss: (id: string) => void; removeToast: (id: string) => void; success: (t: Omit) => string; error: (t: Omit) => string; } /** @deprecated since 4.3.0, removed in 6.0.0. Use {@link useToast}. */ export declare function useToast(): UseToastCompatReturn; //# sourceMappingURL=useToast.d.ts.map