export type GuardRpcPluginContext = { context: Context; }; export type GuardPlugin = { before: (context: GuardRpcPluginContext) => Promise; }; export declare const guardPlugin: (check: (context: Context) => boolean) => GuardPlugin;