/** * Checks whether the runtime accepts a regular expression source without flags. * * Construction validates syntax; the resulting expression is never executed * against a value and is not retained. * * @evidence contracts/common.md#principled-implementation RegExp construction is the syntax authority of the runtime. Only successful construction returns true; syntax exceptions are converted to false. * @evidence contracts/common.md#clear-and-simple-design A single construction/exception boundary avoids maintaining a second regular expression grammar. * @evidence contracts/common.md#prohibited-implementation-shortcuts Native RegExp construction is the required syntax check and is not replaced or patched. No source receives an exceptional verdict. * @evidence contracts/common.md#meaningful-documentation The doc states that the source is tested by construction without flags, and that the expression is neither executed against a value nor retained. */ export declare const _isFormatRegex: (str: string) => boolean;