mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2025-12-17 14:05:12 +00:00
9 lines
231 B
TypeScript
9 lines
231 B
TypeScript
export declare class DoubleIndexedKV<K, V> {
|
|
keyToValue: Map<K, V>;
|
|
valueToKey: Map<V, K>;
|
|
set(key: K, value: V): void;
|
|
getByKey(key: K): V | undefined;
|
|
getByValue(value: V): K | undefined;
|
|
clear(): void;
|
|
}
|