UNPKG

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