@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
12 lines (11 loc) • 315 B
TypeScript
export type DedupeCache = {
check: (key: string | undefined | null, now?: number) => boolean;
clear: () => void;
size: () => number;
};
type DedupeCacheOptions = {
ttlMs: number;
maxSize: number;
};
export declare function createDedupeCache(options: DedupeCacheOptions): DedupeCache;
export {};