/** * Inline character-set parser for ``. * * Lets a user spell a set of characters directly, without reaching for * regular expressions — the friendly path for "pick one symbol from this * bunch". Any Unicode works. * * Grammar (documented in docs/user/ru/gen.md): * - `[X-Y]` inside brackets = inclusive code-point range (`[a-z]`, * `[0-9]`, or a Unicode range such as Cyrillic or Devanagari). * Multiple ranges/literals may share one * group: `[a-z0-9_]`. A `-` at the start or end of a group is a * literal hyphen. * - Every other character is a literal member. * - Outside brackets, commas and ASCII whitespace are ignored (they are * formatting separators, so `"[a-b], [0-5]"` reads nicely). To include * a literal comma, space, or bracket, put it inside a group: `[,]`, * `[ ]`. * * The result preserves first-seen order and removes duplicates, so it is * deterministic and portable (a future Python/Java port reproduces the * same ordered set). */ export declare class CharSetError extends Error { readonly name = "CharSetError"; } /** Parse an inline character-set spec into an ordered, de-duplicated list. */ export declare function parseCharSet(spec: string): string[]; //# sourceMappingURL=charset.d.ts.map