export interface UrlSplit { root: string; querys: { [index: string]: string; }; } export declare namespace Url { /** split url's root path and querys */ function split(url: string): UrlSplit; /** compose root into url */ function compose(split: Pick, splitter?: string): string; /** compose querys into url */ function compose(split: Pick, splitter?: string): string; /** compose root path and querys into url */ function compose(split: UrlSplit, splitter?: string): string; }