import type { ToastAction, ToastItem } from './types'; /** * Reducer for managing toast state * * Removal is a two-phase flow so web can play its CSS exit transition * before the DOM node is unmounted: * `MARK_CLOSED` → flips `pendingRemoval: true` (node stays mounted). * `REMOVE` → filters the toast out of the array (node unmounts). * * Native dispatches `REMOVE` directly since Reanimated's `exiting` * layout animation plays before unmount without a lingering state. */ export declare function toastReducer(state: ToastItem[], action: ToastAction): ToastItem[]; //# sourceMappingURL=reducer.d.ts.map