UNPKG

nanolith

Version:

Multi-threading in no time with seamless TypeScript support.

5 lines (4 loc) 326 B
import type { SharedMapRawData } from '../types/shared_map.js'; export declare const createSharedArrayBuffer: (size: number) => Uint8Array; export declare const encodeValue: (encoder: TextEncoder, data: any) => Uint8Array; export declare const isSharedMapRawData: (pair: any) => pair is SharedMapRawData<Record<string, any>>;