import { DuplexEndPoint } from './DuplexEndPoint'; import { CommonCache } from '../util/CommonCache'; export declare class CacheDuplexEndPoint extends DuplexEndPoint { cacheMap: Map; static DEFAULT_CACHE_SIZE: number; processReporter(data: any, reply?: any): void; invoke(args?: { appName?: string; by?: 'size' | string; value?: number; order?: 'ASC' | 'DESC'; offset?: number; limit?: number; }): Promise; }