export declare function toUrl(paths: string[], withLeadingSlash?: boolean): string;