interface ICodePointSet { add(codePoint: number): void; has(codePoint: number): boolean; serialize(): string; deserialize(string: string): void; } /* Build: 0.013251333964576603 Query: 0.652602325533038 */ declare class CodePointSet implements ICodePointSet { private buckets; add(codePoint: number): void; has(codePoint: number): boolean; serialize(): string; deserialize(str: string): void; } type FontStyle = "normal" | "italic"; type FontCategory = "sans-serif" | "serif" | "monospace"; type ClientOptions = { lang?: string; category?: FontCategory; style?: FontStyle; weight?: number; dataUrl?: string; }; type Result = { fontUrls: string[]; chars: Uint8Array; }; declare function getFontsForString(textString: string, options?: ClientOptions): Promise; declare function clearCache(): void; export { ClientOptions, getFontsForString, clearCache, CodePointSet };