import { ReactNode } from "react";
type ToastProps = {
    message: string;
    type: "success" | "danger";
};
type ToastContextProps = {
    showToast(toast: ToastProps): void;
};
type ToastProviderProps = {
    children: ReactNode;
};
declare const toastContext: import("react").Context<ToastContextProps>;
/**
 * ToastProvider component - provides toast context for managing toast notifications
 *
 * @param props - ToastProvider component properties
 * @param props.children - React elements that will have access to the toast context
 *
 * @returns ToastProvider JSX element that wraps children with toast context
 *
 * @example
 * Basic usage:
 * ```tsx
 * <ToastProvider>
 *   <App />
 * </ToastProvider>
 * ```
 *
 * @example
 * Using toast in component:
 * ```tsx
 * function MyComponent() {
 *   const { showToast } = useToast();
 *
 *   const handleClick = () => {
 *     showToast({
 *       message: 'Success!',
 *       type: 'success'
 *     });
 *   };
 *
 *   return <button onClick={handleClick}>Show Toast</button>;
 * }
 * ```
 */
declare function ToastProvider({ children }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
export { toastContext, ToastProvider };
//# sourceMappingURL=toastProvider.d.ts.map