| 20 | |
| 21 | // Define encoder interface |
| 22 | interface Encoder { |
| 23 | encode: (text: string) => Array<number> |
| 24 | } |
| 25 | |
| 26 | // Cache loaded encoders to avoid repeated imports |
| 27 | const encodingCache = new Map<string, Encoder>() |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…