import type { UsingClient } from '../../../commands'; import type { GatewayIntentBits } from '../../../types'; import type { Cache, CacheFrom, ReturnCache } from '../../index'; export declare class BaseResource { protected cache: Cache; readonly client: UsingClient; namespace: string; constructor(cache: Cache, client: UsingClient); filter(data: any, id: string, from: CacheFrom): boolean; get adapter(): import("../../..").Adapter; removeIfNI(intent: keyof typeof GatewayIntentBits, id: string): import("../../../common").Awaitable; setIfNI(from: CacheFrom, intent: keyof typeof GatewayIntentBits, id: string, data: S): import("../../../common").Awaitable; get(id: string): ReturnCache; bulk(ids: string[]): ReturnCache; set(from: CacheFrom, id: string, data: S): import("../../../common").Awaitable; patch(from: CacheFrom, id: string, data: S): import("../../../common").Awaitable; remove(id: string): import("../../../common").Awaitable; keys(): ReturnCache; values(): ReturnCache; count(): ReturnCache; contains(id: string): ReturnCache; getToRelationship(): import("../../../common").Awaitable; addToRelationship(id: string | string[]): import("../../../common").Awaitable; removeToRelationship(id: string | string[]): import("../../../common").Awaitable; flush(): import("../../../common").Awaitable; hashId(id: string): string; }