/** * Gets the literal part until the first placeholder. Also returns whether the literal part is followed by a simple % * placeholder, or if it even only consists of the literal part * @param pattern a LIKE pattern with % and _ as placeholders (escaped with \) */ export declare function analyzeLikePatternPrefix(pattern: string): { literalPrefix: string; isSimplePrefixPattern: boolean; isLiteralPattern: boolean; }; export declare function likePatternToRegExp(pattern: string, { wildcardChar, singleWildcardChar, }?: { wildcardChar?: string; singleWildcardChar?: string; }): RegExp;