import { AnchorHTMLAttributes, ComponentType, MouseEvent as ReactMouseEvent, ReactNode } from 'react';
import { RoutingLink as RoutingLinkBase, RoutingLinkProps as RoutingLinkPropsBase } from '@contember/react-routing';
export type { RoutingLinkPropsBase };
export { RoutingLinkBase };
/**
 * Low level link. Usually, you should use {@link Link}
 *
 * @group Routing
 */
export declare const RoutingLink: React.NamedExoticComponent<Omit<RoutingLinkPropsBase, "children"> & {
    children?: ReactNode;
    Component?: ComponentType<InnerRoutingLinkProps> | undefined;
    componentProps?: {} | undefined;
} & PublicAnchorProps>;
export type PublicAnchorProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'>;
export interface InnerRoutingLinkProps extends Omit<PublicAnchorProps, 'onClick'> {
    href?: string;
    onClick?: (e?: ReactMouseEvent<HTMLAnchorElement>) => void;
}
export type RoutingLinkProps<T = {}> = Omit<RoutingLinkPropsBase, 'children'> & {
    children?: ReactNode;
    Component?: ComponentType<InnerRoutingLinkProps & T>;
    componentProps?: T;
};
//# sourceMappingURL=RoutingLink.d.ts.map