/** * Date: 2019-07-13 * Time: 13:42 * @license MIT (see project's LICENSE file) * */ /** * Creates a urn either by path or by parts: * - path: "urn::" * - parts: "urn::...:" */ export declare function createUrn({ path, nss }: { nss?: string; path?: string | string[]; }): string; /** * Parses a urn and returns bits * @param urn - the whole urn * @param parts - optionally may specify the names of the parts in which case the * result will be an object of values mapped to these part names. * @throws {Error} */ export declare function parseUrn(urn: string, parts?: string[]): { parts: string[] | { [index: string]: string; }; nss: string; }; //# sourceMappingURL=urn.d.ts.map