import type { SessionLifecycle } from "../lifecycle/session-lifecycle"; import type { StateStore } from "../state/state-store"; import type { Logger } from "../util/logger"; type PluginEventPayload = { event: { type: string; properties?: unknown; }; }; type CreatePluginEventHookOptions = { stateStore: StateStore; sessionLifecycle: SessionLifecycle; logger: Pick; onSessionReady?: (sessionId: string) => Promise; onSessionIdle?: (sessionId: string) => Promise; onSessionEnded?: (sessionId: string, details: { trackedMainSession: boolean; }) => Promise; }; export declare function createPluginEventHook(options: CreatePluginEventHookOptions): ({ event }: PluginEventPayload) => Promise; export {};