UNPKG

@livekit/components-core

Version:

This package is a wrapper around the [livekit/client-sdk-js](https://github.com/livekit/client-sdk-js) package. It transforms the event based logic into simple to use observable state and component level APIs. This package is the core for all framework sp

12 lines 338 B
export type TokenizeGrammar = { [type: string]: RegExp; }; export declare const createDefaultGrammar: () => { email: RegExp; url: RegExp; }; export declare function tokenize<T extends TokenizeGrammar>(input: string, grammar: T): (string | { type: keyof T; content: string; })[]; //# sourceMappingURL=tokenizer.d.ts.map