import { To } from 'react-router-dom';
export declare const WithLink: ({ link, onClick, children, className, }: {
    children: React.ReactNode;
    className?: string;
    onClick?: () => void;
    link?: To;
}) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
