/**
 * Returns terms in a tree form.
 *
 * @param {Array} flatTerms Array of terms in flat format.
 *
 * @return {Array} Array of terms in tree format.
 */
export declare function buildTermsTree(flatTerms: any[]): any[];
export declare const unescapeString: (arg: any) => string;
/**
 * Returns a term object with name unescaped.
 *
 * @param {Object} term The term object to unescape.
 *
 * @return {Object} Term object with name property unescaped.
 */
export declare const unescapeTerm: (term: Object) => Object;
/**
 * Returns an array of term objects with names unescaped.
 * The unescape of each term is performed using the unescapeTerm function.
 *
 * @param {Object[]} terms Array of term objects to unescape.
 *
 * @return {Object[]} Array of term objects unescaped.
 */
export declare const unescapeTerms: (terms: Object[]) => Object[];
//# sourceMappingURL=terms.d.ts.map