import { ICacheAdapter } from './ICacheAdapter'; import { ClassType } from '@allgemein/schema-api'; import { ICacheConfig } from './ICacheConfig'; import { ICacheGetOptions, ICacheSetOptions } from './ICacheOptions'; import { CacheBin } from './CacheBin'; import { ICache } from './ICache'; export declare const DEFAULT_OPTIONS: ICacheConfig; export declare class Cache implements ICache { static NAME: string; private options; private adapterClasses; private adapters; private bins; private nodeId; getBin(name: string): CacheBin; get(key: string, bin?: string, options?: ICacheGetOptions): Promise; set(key: string, value: T, bin?: string, options?: ICacheSetOptions): Promise; configure(nodeId: string, config?: ICacheConfig): Promise; register(s: ClassType): Promise; getOptions(): ICacheConfig; getAdapterClasses(): { type: string; clazz: ClassType; }[]; getAdapters(): { [k: string]: ICacheAdapter; }; getBins(): { [k: string]: CacheBin; }; shutdown(): Promise; }