import React from 'react';
import { toast as sonner } from 'sonner';
import type { BaseToastOptions } from './types';
export { DURATION } from './const';
export { Action, Icon, Outer, Text, ToastConfigProvider } from './Toast';
export type { ToastType, BaseToastOptions } from './types';
/**
 * Toasts are rendered in a global outlet, which is placed at the top of the
 * component tree.
 */
export declare function ToastOutlet(): import("react/jsx-runtime").JSX.Element;
/** Direct access to the underlying Sonner API. Use sparingly. */
export declare const api: typeof sonner;
/**
 * Show a toast notification. Identical API to the native variant — see
 * `./index.tsx` for the full usage docs.
 */
export interface ToastFn {
    (content: React.ReactNode, options?: BaseToastOptions): void;
    success: (content: React.ReactNode, options?: Omit<BaseToastOptions, 'type'>) => void;
    error: (content: React.ReactNode, options?: Omit<BaseToastOptions, 'type'>) => void;
    warning: (content: React.ReactNode, options?: Omit<BaseToastOptions, 'type'>) => void;
    info: (content: React.ReactNode, options?: Omit<BaseToastOptions, 'type'>) => void;
    dismiss: (id?: string | number) => void;
}
export declare const toast: ToastFn;
export declare const show: ToastFn;
export type Toast = ToastFn;
//# sourceMappingURL=index.web.d.ts.map