import React, { AnchorHTMLAttributes, ReactNode } from "react";
interface LinkProps extends Omit, "href"> {
to: string;
children?: ReactNode;
replace?: boolean;
}
/**
* A Link component that handles hash navigation specially.
* If the `to` prop starts with '#', it modifies only the hash
* portion of the current URL instead of navigating.
*/
export declare const HashLink: ({ to, children, onClick, replace, ...props }: LinkProps) => React.JSX.Element;
export {};