/** * Session Init Hook Handler (UserPromptSubmit) * * Initializes a session record when the user submits their first prompt. * Captures the initial prompt for context. * * @module @agentkits/memory/hooks/session-init */ import { NormalizedHookInput, HookResult, EventHandler } from './types.js'; import { MemoryHookService } from './service.js'; /** * Session Init Hook - UserPromptSubmit Event * * Called when the user submits a prompt. * Creates or updates the session record with the prompt. */ export declare class SessionInitHook implements EventHandler { private service; private ownsService; constructor(service: MemoryHookService, ownsService?: boolean); /** * Shutdown the hook (closes database if owned) */ shutdown(): Promise; /** * Execute the session init hook */ execute(input: NormalizedHookInput): Promise; } /** * Create session init hook handler */ export declare function createSessionInitHook(cwd: string): SessionInitHook; export default SessionInitHook; //# sourceMappingURL=session-init.d.ts.map