/* auto-generated by NAPI-RS */ /* eslint-disable */ export class Tokenizer { count(content: string, allowedSpecial?: Array | undefined | null): number } export function fromModelName(modelName: string): Tokenizer | null export function getMime(input: Uint8Array): string /** * Merge updates in form like `Y.applyUpdate(doc, update)` way and return the * result binary. */ export function mergeUpdatesInApplyWay(updates: Array): Buffer export function mintChallengeResponse(resource: string, bits?: number | undefined | null): Promise export function verifyChallengeResponse(response: string, bits: number, resource: string): Promise