import { T as ToastAdapter } from '../toast-adapter-DRX4OW9l.js'; import 'react'; /** * Peer-optional Sonner adapter. * * Consumer setup: * 1. `pnpm add sonner` (>=1.0.0 <3) * 2. Render `` from `'sonner'` once in the app shell. * 3. Pass this adapter to ``. * * If `sonner` is missing or its `toast()` export is unavailable (e.g., major * version mismatch), `render` returns `null` and emits a one-time dev warning; * the provider then falls back to the built-in `` portal. * * The dynamic `import('sonner')` lives inside `render` so this file remains * loadable even when `sonner` is not installed. */ declare const sonnerAdapter: ToastAdapter; export { sonnerAdapter };