import { KeyboardEvent, MouseEvent } from 'react'; import { Route } from '../../../common/types'; type LinkNavigationEvent = MouseEvent | KeyboardEvent; type LinkPressArgs = { target?: string; routerActions: { push: (href: string, state?: unknown) => void; replace: (href: string, state?: unknown) => void; pushTo: (route: Route, attributes: any, state?: unknown) => void; replaceTo: (route: Route, attributes: any, state?: unknown) => void; }; replace: boolean; href: string; onClick?: (e: LinkNavigationEvent) => void; to: [Route, any] | void; state?: unknown; }; export declare const handleNavigation: (event: any, { onClick, target, replace, routerActions, href, to, state }: LinkPressArgs) => void; export {};