import { MutableRefObject } from 'react'; interface TransitionArgs { immediate: boolean; container: MutableRefObject; classes: MutableRefObject<{ base: string[]; enter: string[]; enterFrom: string[]; enterTo: string[]; leave: string[]; leaveFrom: string[]; leaveTo: string[]; entered: string[]; }>; direction: 'enter' | 'leave' | 'idle'; onStart: MutableRefObject<(direction: TransitionArgs['direction']) => void>; onStop: MutableRefObject<(direction: TransitionArgs['direction']) => void>; } export declare function useTransition({ immediate, container, direction, classes, onStart, onStop, }: TransitionArgs): void; export {};