import { Location } from 'history'; import { ScopedVars } from '../types/ScopedVars'; import { GrafanaConfig } from '../types/config'; import { RawTimeRange } from '../types/time'; import { UrlQueryMap } from './url'; interface LocationUtilDependencies { config: GrafanaConfig; getTimeRangeForUrl: () => RawTimeRange; getVariablesUrlParams: (scopedVars?: ScopedVars) => UrlQueryMap; } export declare const locationUtil: { /** * * @param getConfig * @param getAllVariableValuesForUrl * @param getTimeRangeForUrl * @internal */ initialize: (dependencies: LocationUtilDependencies) => void; stripBaseFromUrl: (urlOrPath: string) => string; assureBaseUrl: (url: string) => string; updateSearchParams: (init: string, partial: string) => string; getTimeRangeUrlParams: () => string | null; getVariablesUrlParams: (scopedVars?: ScopedVars) => string | null; getUrlForPartial: (location: Location, searchParamsToUpdate: UrlQueryMap) => string; processUrl: (url: string) => string; }; export {};