import { History } from 'history'; export declare function setHistory(newHistory: History): void; declare type Path = string; declare type ProjectLocationDescriptor = { type: 'project'; id?: number; name?: string; category?: 'GENERAL' | 'PROGRAM'; organizationId?: number; params?: { [param: string]: string; }; }; declare type OrgLocationDescriptor = { type: 'org'; id?: number; name?: string; organizationId?: number; params?: { [param: string]: string; }; }; declare type SiteLocationDescriptor = { type: 'site'; organizationId?: number; params?: { [param: string]: string; }; }; declare type LocationDescriptor = ProjectLocationDescriptor | OrgLocationDescriptor | SiteLocationDescriptor; declare const to: (path: Path, descriptor?: LocationDescriptor, options?: { blank?: boolean; }) => void; declare const linkUrl: (path: Path, descriptor?: LocationDescriptor) => string; export { linkUrl }; export default to;