/** * after_tool_call hook — self-learning via tool event ingestion. * * Every tool call is sent to engram's /api/events/ingest endpoint so that * the server can extract patterns and update its observation store over time. * This is fire-and-forget: the hook never blocks on a response. */ import type { EngramRestClient } from '../client.js'; import type { PluginConfig } from '../config.js'; import type { AfterToolCallEvent, PluginHookContext, PluginLogger } from '../types/openclaw.js'; /** * Handle the after_tool_call hook. * * @param event - The after_tool_call event from OpenClaw. * @param ctx - The hook context containing agent identity fields. * @param client - Shared engram REST client. * @param config - Resolved plugin config. */ export declare function handleAfterToolCall(event: AfterToolCallEvent, ctx: PluginHookContext, client: EngramRestClient, config: PluginConfig, logger?: PluginLogger): void; //# sourceMappingURL=after-tool-call.d.ts.map