import { type LinkProps as RouterLinkProps, type NavLinkProps as RouterNavLinkProps } from "react-router"; export interface LinkProps extends Omit { /** * The destination URL for the link. */ href: RouterLinkProps["to"]; /** * When true, disables all transition animations regardless of the inferred direction. * @default false */ dontAnimate?: boolean; } /** * Enhanced Link component that automatically determines transition direction * based on the navigation hierarchy. * * - Push animation: when navigating deeper (e.g., /products -> /products/123) * - Pop animation: when navigating up (e.g., /products/123 -> /products) * - No animation: for sibling navigation (e.g., /products/123 -> /products/456) */ export declare function Link({ dontAnimate, href, onClick, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element; export interface NavLinkProps extends Omit { /** * The destination URL for the link. */ href: RouterNavLinkProps["to"]; } /** * Enhanced NavLink component that automatically determines transition direction * based on the navigation hierarchy. * * - Push animation: when navigating deeper (e.g., /settings -> /settings/profile) * - Pop animation: when navigating up (e.g., /settings/profile -> /settings) * - No animation: for sibling navigation (e.g., /settings/profile -> /settings/security) * * Maintains all NavLink functionality including active state management. */ export declare function NavLink({ href, onClick, ...props }: NavLinkProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=link.d.ts.map