export interface ParsedURL {
    url: URL;
    protocol: 'ipfs' | 'ipns';
    cidOrPeerIdOrDnsLink: string;
    path: string[];
    query: Record<string, any>;
    fragment: string;
}
/**
 * Accepts the following url strings:
 *
 * - /ipfs/Qmfoo/path
 * - /ipns/Qmfoo/path
 * - ipfs://cid/path
 * - ipns://name/path
 * - http://cid.ipfs.example.com/path
 * - http://name.ipns.example.com/path
 * - http://example.com/ipfs/cid/path
 * - http://example.com/ipns/name/path
 */
export declare function parseURLString(urlString: string): ParsedURL;
//# sourceMappingURL=parse-url-string.d.ts.map