export type KeyType = string | number; type ValueType = [number, any]; export declare function pathKey(keys: KeyType[]): string; declare class Entity { instanceId: string; constructor(instanceId: string); cache: Map; get(keys: KeyType[]): ValueType | null; opGet(keyPathStr: string): ValueType | null; update(keys: KeyType[], valueFn: (origin: ValueType | null) => ValueType | null): void; opUpdate(keyPathStr: string, valueFn: (origin: ValueType | null) => ValueType | null): void; } export default Entity;