CoolFace
Apppublic

opusdev/vector-similarity-api

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes
index.d.ts16 linesDownload Raw Back to side-channel-map
1declare namespace getSideChannelMap {2	type Channel<K, V> = {3		assert: (key: K) => void;4		has: (key: K) => boolean;5		get: (key: K) => V | undefined;6		set: (key: K, value: V) => void;7		delete: (key: K) => boolean;8	};9}10 11declare function getSideChannelMap<K, V>(): getSideChannelMap.Channel<K, V>;12 13declare const x: false | typeof getSideChannelMap;14 15export = x;16