import type { ReactNode } from 'react'; export interface ToastAdapter { success: (message: string, opts?: { description?: string; }) => void; error: (message: string, opts?: { description?: string; }) => void; info: (message: string, opts?: { description?: string; }) => void; } /** * Provide a custom toast implementation to web-shared components. * * When not provided, falls back to sonner (works in packages/web). * Host apps like vercel-site can supply their own adapter * (e.g. Geist useToasts) so toasts render in the host's toast system. */ export declare function ToastProvider({ toast, children, }: { toast: ToastAdapter; children: ReactNode; }): ReactNode; export declare function useToast(): ToastAdapter; //# sourceMappingURL=toast.d.ts.map