import { Path, LocationDescriptorObject, History as _H } from 'history-with-query'; export declare type HookedHistory = _H & { push: (path: Path | LocationDescriptorObject) => void; }; export declare type LocationHistory = LocationDescriptorObject & { to?: string; blank?: boolean; }; export declare type LinkPath = LocationHistory | Path; export declare function goToLink(link: LinkPath, history?: HookedHistory): void;