import type { TransitionHookOptions, TransitionHookReturnValue } from "./types.js";
/**
 * You'll most likely want to use the {@link useCSSTransition} hook instead
 * since this is just a low-level hook that can be used to transition using
 * timeouts.
 *
 * @typeParam E - The HTMLElement type used or the ref required for the
 * transition.
 * @since 4.0.0
 * @since 6.0.0 Added the `disablePortal` flag to the return value for SSR.
 */
export declare function useTransition<E extends HTMLElement>(options: TransitionHookOptions<E>): TransitionHookReturnValue<E>;
