declare let _$_: { new (): {}; } & typeof globalThis; declare class $ extends _$_ { } declare namespace $ { export type $ = typeof $$; export class $$ extends $ { static $: $; } namespace $$ { type $$ = $; } export {}; } declare namespace $ { function $mol_fail(error: any): never; } declare namespace $ { function $mol_bigint_encode(num: bigint): Uint8Array; } declare namespace $ { /** Temporary buffer. Recursive usage isn't supported. */ function $mol_charset_buffer(size: number): Uint8Array; } declare namespace $ { /** Encode text to Unicode Compact Format. */ function $mol_charset_ucf_encode(str: string): Uint8Array; function $mol_charset_ucf_encode_to(str: string, buf: Uint8Array, from?: number): number; /** Decode text from Unicode Compact Format. */ function $mol_charset_ucf_decode(buffer: Uint8Array, mode?: number): string; } declare namespace $ { function $mol_bigint_decode(buf: Uint8Array): bigint; } declare namespace $ { var $mol_dom_context: typeof globalThis; } declare namespace $ { } declare namespace $ { var $mol_dom: typeof globalThis; } declare namespace $ { function $mol_dom_serialize(node: Node): string; } declare namespace $ { function $mol_dom_parse(text: string, type?: DOMParserSupportedType): Document; } declare namespace $ { enum $mol_vary_tip { uint = 0, link = 32, spec = 64, list = 96, blob = 128, text = 160, tupl = 192, sint = 224 } enum $mol_vary_len { L1 = 28, L2 = 29, L4 = 30, L8 = 31, LA = 32 } enum $mol_vary_spec { none, true, fake, both, fp16, fp32, fp64, f128, f256 } /** VaryPack - simple fast compact data binarization format. */ class $mol_vary_class extends Object { lean_symbol: symbol; array: Uint8Array; buffer: DataView; /** Packs any data to Uint8Array with deduplication. */ pack(data: readonly unknown[]): Uint8Array; /** Parses buffer to rich runtime structures. */ take(array: Uint8Array): unknown; rich_index: Map; /** Isolated Vary for custom types */ zone(): $mol_vary_class; rich_node(keys: readonly string[]): Map; lean_find(val: any): any; /** Adds custom types support. */ type({ type, keys, rich, lean }: { type: new (...vals: any[]) => Instance; keys: Keys; lean: (obj: Instance) => Vals; rich: (vals: Vals) => Instance; }): void; } let $mol_vary: $mol_vary_class; } export = $; //# sourceMappingURL=web.d.ts.map