import * as React from 'react'; import type { ToastObject } from "../useToastManager.js"; export interface ToastRootContext { toast: ToastObject; rootRef: React.RefObject; titleId: string | undefined; setTitleId: React.Dispatch>; descriptionId: string | undefined; setDescriptionId: React.Dispatch>; swiping: boolean; swipeDirection: 'up' | 'down' | 'left' | 'right' | undefined; index: number; visibleIndex: number; expanded: boolean; recalculateHeight: () => void; } export declare const ToastRootContext: React.Context; export declare function useToastRootContext(): ToastRootContext;