import { MentionRoute, HyperDecomposition } from './interfaces';
/**
 * Decomposition match,
 * If decomp has no synonyms, do a regular match.
 * Otherwise, try all synonyms.
 *
 * @export
 * @param {MentionRoute[]} synonyms
 * @param {string} str
 * @param {string} pat
 * @returns
 *
 * Learned from `SynList.matchDecomp(String str, String pat, String[] segmentedPat)`
 */
export declare function matchDecomposition(synonyms: MentionRoute[], str: string, pat: string): HyperDecomposition | null;
