/**
 * @param {string} ref Encapsulated reference string. MUST NOT be null.
 * @class
 * @author Jakub Senko <jsenko@redhat.com>
 */
export declare class Reference {
    ref: string;
    abs: string;
    rel: string;
    constructor(ref: string);
    /**
     * @return {string} the original/full reference string.
     */
    getRef(): string;
    getAbsPart(): string;
    getRelPart(): string;
    isRelative(): boolean;
    /**
     * @return {string} a `name` of the referenced component, as parsed from the reference string.
     * @throws java.lang.RuntimeException if the reference does not contain relative part
     */
    getName(): string;
    /**
     * @param {Reference} that other reference
     * @return {Reference} a new reference with the absolute part copied form the other one,
     * and relative from this one
     */
    withAbsoluteFrom(that: Reference): Reference;
    /**
     *
     * @param {*} o
     * @return {boolean}
     */
    equals(o: any): boolean;
    /**
     *
     * @return {number}
     */
    hashCode(): number;
}
