import { CancellablePromise } from '@theintern/common'; export declare function getConfig(file?: string): CancellablePromise<{ config: { [key: string]: any; }; file: string | undefined; }>; export declare function getDefaultBasePath(): string; export declare function normalizePath(path: string): string; export declare function parseQuery(query?: string): string[]; export declare type Url = { protocol: string; hostname: string; port: string; path: string; query: string; hash: string; }; export declare function parseUrl(url: string): Url | undefined;