import React from 'react';
export declare type ButtonLinkProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
    to: string;
};
/**
 * Almost same as `react-router-dom`'s `NavLink` except it uses a button element instead
 * of an anchor element. Which means there's no `href`, thus no link preview on hover,
 * and no 'Open link in new tab'.
 *
 * Just like `NavLink`, this component also adds an `.active` classname if the current path
 * is same as the one being reference by the `to` prop.
 */
export declare const ButtonLink: ({ to, children, className, onClick, ...rest }: ButtonLinkProps) => JSX.Element;
