import { ClassType } from '@allgemein/schema-api'; import { ICache } from '../cache/ICache'; import { IQueueArray } from './IQueueArray'; import { IdObject } from './IdObject'; export declare class CacheArray implements IQueueArray { cache: ICache; classType: ClassType; ids: { id: string; ts: number; }[]; constructor(cache: ICache, classType: ClassType); shift(): Promise; pop(): Promise; get(id: string): Promise; set(x: T): Promise; push(x: T): Promise; get length(): number; map(fn: Function): Promise; filter(fn: Function): Promise; remove(id: string): Promise; }