import type { ESTree } from "meriyah";
/**
 * @description get the common string prefix (at the start) pattern
 * @example
 * commonStringPrefix("boo", "foo"); // null
 * commonStringPrefix("bromance", "brother"); // "bro"
 */
export declare function commonStringPrefix(leftAnyValue: ESTree.Literal | string, rightAnyValue: ESTree.Literal | string): string | null;
/**
 * @description get the common string suffixes (at the end) pattern
 * @param {!string} leftStr
 * @param {!string} rightStr
 * @returns {string | null}
 *
 * @example
 * commonStringSuffix("boo", "foo"); // oo
 * commonStringSuffix("bromance", "brother"); // null
 */
export declare function commonStringSuffix(leftStr: string, rightStr: string): string | null;
export declare function commonHexadecimalPrefix(identifiersArray: string[]): {
    oneTimeOccurence: number;
    prefix: Record<string, number>;
};
//# sourceMappingURL=patterns.d.ts.map