constructor(cache: Cache, client: UsingClient);
filter(data: any, id: string, from: CacheFrom): boolean;
removeIfNI(intent: keyof typeof GatewayIntentBits, id: string): Awaitable<void>;
setIfNI(from: CacheFrom, intent: keyof typeof GatewayIntentBits, id: string, data: S): Awaitable<void>;
get(id: string): ReturnCache<T | undefined>;
bulk(ids: string[]): ReturnCache<T[]>;
set(from: CacheFrom, id: string, data: S): Awaitable<void>;
patch(from: CacheFrom, id: string, data: S): Awaitable<void>;
remove(id: string): Awaitable<void>;
keys(): ReturnCache<string[]>;
values(): ReturnCache<T[]>;
count(): ReturnCache<number>;
contains(id: string): ReturnCache<boolean>;
getToRelationship(): Awaitable<string[]>;
addToRelationship(id: string | string[]): Awaitable<void>;
removeToRelationship(id: string | string[]): Awaitable<void>;
flush(): Awaitable<void>;
hashId(id: string): string;