/** * session_start hook — initializes the engram session record. * * Context injection has moved to the before_agent_start hook, which receives * full agent identity via ctx. This hook only calls initSession so the server * can track the conversation from the beginning. */ import type { EngramRestClient } from '../client.js'; import type { PluginConfig } from '../config.js'; import type { SessionStartEvent, PluginHookContext, PluginLogger } from '../types/openclaw.js'; /** * Handle the session_start hook. * * @param event - The session_start event from OpenClaw. * @param ctx - The hook context containing agent identity fields. * @param client - Shared engram REST client. * @param config - Resolved plugin config. * @param logger - Optional logger (falls back to console). */ export declare function handleSessionStart(event: SessionStartEvent, ctx: PluginHookContext, client: EngramRestClient, config: PluginConfig, logger?: PluginLogger): Promise; //# sourceMappingURL=session-start.d.ts.map