type RpcPluginContext = { path: string; input: I; result?: R; }; type CachePlugin = { before: (context: RpcPluginContext) => Promise; after: (context: RpcPluginContext) => Promise; }; export declare const cachePlugin: () => CachePlugin; export {};