1 | import { CancellablePromise } from '@theintern/common';
|
2 | export declare function getConfig(file?: string): CancellablePromise<{
|
3 | config: {
|
4 | [key: string]: any;
|
5 | };
|
6 | file: string | undefined;
|
7 | }>;
|
8 | export declare function getDefaultBasePath(): string;
|
9 | export declare function normalizePath(path: string): string;
|
10 | export declare function parseQuery(query?: string): string[];
|
11 | export declare type Url = {
|
12 | protocol: string;
|
13 | hostname: string;
|
14 | port: string;
|
15 | path: string;
|
16 | query: string;
|
17 | hash: string;
|
18 | };
|
19 | export declare function parseUrl(url: string): Url | undefined;
|