/** * Convert the given relative IRI to an absolute IRI * by taking into account the given optional baseIRI. * * @param {string} relativeIRI The relative IRI to convert to an absolute IRI. * @param {string} baseIRI The optional base IRI. * @return {string} an absolute IRI. */ export declare function resolve(relativeIRI: string, baseIRI?: string): string; /** * Remove dot segments from the given path, * as described in https://www.ietf.org/rfc/rfc3986.txt (page 32). * @param {string} path An IRI path. * @return {string} A path, will always start with a '/'. */ export declare function removeDotSegments(path: string): string; /** * Removes dot segments of the given IRI. * @param {string} iri An IRI (or part of IRI). * @param {number} colonPosition The position of the first ':' in the IRI. * @return {string} The IRI where dot segments were removed. */ export declare function removeDotSegmentsOfPath(iri: string, colonPosition: number): string;