"use strict";

import { Platform } from 'react-native';
import * as WebSonner from 'sonner';
import * as NativeSonner from 'sonner-native';

// Define proper types for the toast components

const {
  toast: webToast,
  Toaster: WebToaster
} = WebSonner;
const {
  toast: nativeToast,
  Toaster: NativeToaster
} = NativeSonner;
export const toast = Platform.OS === 'web' ? webToast : nativeToast;
export const Toaster = Platform.OS === 'web' ? WebToaster : NativeToaster;
//# sourceMappingURL=sonner.js.map