first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
export type Token = TokenLiteral | TokenPick | TokenRepeat | TokenRange | TokenList;
export type TokenLiteral = string;
export type TokenPick = [type: 'pick', from: string[]];
export type TokenRepeat = [type: 'repeat', min: number, max: number, pattern: Token];
export type TokenRange = [type: 'range', min: number, max: number];
export type TokenList = [type: 'list', what: Token[]];
export declare function randomString(token: Token): string;