export interface IcacheItem { hash: string; host: string; hostname: string; href: string; origin: string; pathname: string; port: string | number; protocol: string; search: string; } export interface Icache { [propName: string]: IcacheItem; } export declare const parseUrl: ((url: string) => string) | ((url: string) => IcacheItem); export default parseUrl;