1 | import { Models } from './models';
|
2 |
|
3 | export declare function isValid(pattern: string): boolean;
|
4 | export declare function check(url: string, pattern: string): boolean;
|
5 | export declare function getModels(pattern: string): string[];
|
6 | export declare function getRestPramsNames(pattern: string): string[];
|
7 | export declare function containsModels(url: string, models: string[]): boolean;
|
8 | export declare function stars(n: number): string;
|
9 | export declare function getRestParams(url: string, pattern: string): Object;
|
10 | export declare const regexisPath: RegExp;
|
11 | export declare function interpolateParamsToUrl(params: Object, url: string): string;
|
12 |
|
13 |
|
14 |
|
15 | export declare function decodeUrl(url: string): Object;
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare function getParamsUrl(params: Models.UrlParams[], doNotSerialize?: boolean): string;
|
24 | export declare function prepareUrlOldWay(params?: TemplateStringsArray): string;
|