/**
 * Accepts the following url strings:
 *
 * - /ipfs/Qmfoo/path
 * - /ipns/Qmfoo/path
 * - ipfs://cid/path
 * - ipns://name/path
 */
export declare function stringToIpfsUrl(urlString: string): URL;
//# sourceMappingURL=parse-resource.d.ts.map