/** * @param {boolean | undefined} value * @returns {TokenMatcher} */ export function boollit(value?: boolean | undefined): TokenMatcher; /** * @param {number[] | Uint8Array | undefined} value * @returns {TokenMatcher} */ export function byteslit(value?: number[] | Uint8Array | undefined): TokenMatcher; /** * @param {string} kind * @param {{length: number} | {minLength: number} | {maxLength: number} | {minLength: number, maxLength: number } | undefined} options * @returns {TokenMatcher} */ export function group(kind: string, options?: { length: number; } | { minLength: number; } | { maxLength: number; } | { minLength: number; maxLength: number; } | undefined): TokenMatcher; /** * @param {string | number | bigint | undefined} value * @returns {TokenMatcher} */ export function intlit(value?: string | number | bigint | undefined): TokenMatcher; /** * @template {TokenMatcher[]} Matchers * @param {[...Matchers]} matchers * @returns {TokenMatcher> ? T : never>} */ export function oneOf(matchers: [...Matchers]): TokenMatcher> ? T : never>; /** * @param {string | undefined} value * @returns {TokenMatcher} */ export function strlit(value?: string | undefined): TokenMatcher; /** * @template {string} S * @param {S} s * @returns {TokenMatcher>} */ export function symbol(s: S): TokenMatcher>; /** * @param {string} s * @param {object} options * @param {boolean} [options.caseInsensitive] * Defaults to false * @returns {TokenMatcher} */ export function word(s: string, options?: { caseInsensitive?: boolean | undefined; }): TokenMatcher; /** * @import { BoolLiteral, ByteArrayLiteral, IntLiteral, RealLiteral, StringLiteral, SymbolToken, Token, TokenGroup, TokenMatcher, Word } from "../index.js" */ /** * @type {TokenMatcher} */ export const anySymbol: TokenMatcher; /** * @type {TokenMatcher} */ export const anyWord: TokenMatcher; /** * @type {TokenMatcher} */ export const reallit: TokenMatcher; /** * @type {TokenMatcher} */ export const wildcard: TokenMatcher; import type { BoolLiteral } from "../index.js"; import type { TokenMatcher } from "../index.js"; import type { ByteArrayLiteral } from "../index.js"; import type { TokenGroup } from "../index.js"; import type { IntLiteral } from "../index.js"; import type { StringLiteral } from "../index.js"; import type { SymbolToken } from "../index.js"; import type { Word } from "../index.js"; import type { RealLiteral } from "../index.js"; import type { Token } from "../index.js"; //# sourceMappingURL=TokenMatcher.d.ts.map