1 | import { LocationConfig, LocationServices } from '../common';
|
2 | import { UIRouter } from '../router';
|
3 | export declare const keyValsToObjectR: (accum: any, [key, val]: [any, any]) => any;
|
4 | export declare const getParams: (queryString: string) => any;
|
5 | export declare function parseUrl(url: string): {
|
6 | path: any;
|
7 | search: any;
|
8 | hash: any;
|
9 | url: string;
|
10 | };
|
11 | export declare const buildUrl: (loc: LocationServices) => string;
|
12 | export declare function locationPluginFactory(name: string, isHtml5: boolean, serviceClass: {
|
13 | new (uiRouter?: UIRouter): LocationServices;
|
14 | }, configurationClass: {
|
15 | new (uiRouter?: UIRouter, isHtml5?: boolean): LocationConfig;
|
16 | }): (uiRouter: UIRouter) => {
|
17 | name: string;
|
18 | service: LocationServices;
|
19 | configuration: LocationConfig;
|
20 | dispose: (router: UIRouter) => void;
|
21 | };
|