export declare type Action = Insert | Update | Delete; export declare type Insert = { type: 'insert'; value: T; }; export declare type Update = { type: 'update'; value: T; }; export declare type Delete = { type: 'delete'; value: T; }; declare type CacheOptions = { key: keyof T; timestamp: keyof T; }; export declare class Cache { private readonly options; private readonly data; constructor(options: CacheOptions); private keyOf; private timestampOf; private inserts; private updates; private deletes; update(values: T[]): Action[]; } export {};