import { A as caseInsensitive, C as whitespace, D as Join, E as wordChar, F as unicode, I as withIndices, M as global, N as multiline, O as UnionToTuple, P as sticky, S as tab, T as wordBoundary, _ as letter, a as InputSource, b as not, c as MapToGroups, d as carriageReturn, f as char, g as exactly, h as digit, i as StringCapturedBy, j as dotAll, k as Flag, l as Input, m as charNotIn, n as MagicRegExpMatchArray, o as JoinValues, p as charIn, r as MapToStringCapturedBy, s as MapToCapturedGroupsArr, t as MagicRegExp, u as anyOf, v as linefeed, w as word, x as oneOrMore, y as maybe } from "./magic-regexp-KJeJieb-.mjs"; //#region src/index.d.ts export declare const createRegExp: { /** Create Magic RegExp from Input helpers and string (string will be sanitized) */ (...inputs: Inputs): MagicRegExp<`/${JoinValues}/`, MapToGroups, MapToCapturedGroupsArr, never>; (...inputs: [...Inputs, [...Flags]]): MagicRegExp<`/${JoinValues}/${Join}`, MapToGroups, MapToCapturedGroupsArr, Flags[number]>; extends (infer F extends Flag[]) ? F : never>(...inputs: [...Inputs, Set]): MagicRegExp<`/${JoinValues}/${Join}`, MapToGroups, MapToCapturedGroupsArr, Flags[number]>; }; declare global { interface String { match>>(regexp: R): MagicRegExpMatchArray | null; match>(regexp: R): string[] | null; /** @deprecated String.matchAll requires global flag to be set. */ matchAll>(regexp: R): never; /** @deprecated String.matchAll requires global flag to be set. */ matchAll>>(regexp: R): never; matchAll>(regexp: R): IterableIterator>; /** @deprecated String.replaceAll requires global flag to be set. */ replaceAll>(searchValue: R, replaceValue: string | ((substring: string, ...args: any[]) => string)): never; /** @deprecated String.replaceAll requires global flag to be set. */ replaceAll>>(searchValue: R, replaceValue: string | ((substring: string, ...args: any[]) => string)): never; } } //#endregion export { Flag, type Input, MagicRegExp, MagicRegExpMatchArray, MapToStringCapturedBy, StringCapturedBy, anyOf, carriageReturn, caseInsensitive, char, charIn, charNotIn, digit, dotAll, exactly, global, letter, linefeed, maybe, multiline, not, oneOrMore, sticky, tab, unicode, whitespace, withIndices, word, wordBoundary, wordChar };