export type TransitionDirection = "push" | "pop" | "none";
/**
 * Determines the transition direction based on the navigation path hierarchy.
 *
 * @param from - The current path
 * @param to - The destination path
 * @param dontAnimate - If true, always returns 'none'
 * @returns The appropriate transition direction
 */
export declare function getTransitionDirection(from: string, to: string): TransitionDirection;
/**
 * Custom hook that provides the transition direction for a link based on the current location.
 *
 * @param to - The destination path
 * @param dontAnimate - If true, always returns 'none'
 * @returns The appropriate transition direction
 */
export declare function useTransitionDirection(to: string, dontAnimate?: boolean): TransitionDirection;
//# sourceMappingURL=use-transition-direction.d.ts.map