import * as React from 'react'; import type { ToastIntent } from '../../../components/toast/index.js'; export interface GlassToastProps { message?: React.ReactNode; title?: React.ReactNode; type?: 'info' | 'success' | 'warning' | 'error' | 'danger'; duration?: number; onClose?: () => void; id?: string; className?: string; } export declare function toastType(t?: string): ToastIntent; /** @deprecated since 4.3.0, removed in 6.0.0. Use {@link useToast}. */ export declare function GlassToast({ message, title, type, duration, onClose, className }: GlassToastProps): null; /** Programmatic form: GlassToast({message, type}) as a function call is unsupported in 5.0 — consumers migrate to useToast().add. The component form above is the adapter. */ export default GlassToast; //# sourceMappingURL=GlassToast.d.ts.map