import type { ThreadHookConfig, RunThreadOptions } from '../../core/types/thread-types.js'; export interface LifecycleHookConfigs { template?: ThreadHookConfig; extra?: ThreadHookConfig; } /** Emit one lifecycle event with registry and per-call scoped hooks. */ export declare function executeLifecycleHooks(threadId: string, phase: 'start' | 'transition' | 'end', configs: LifecycleHookConfigs, opts: RunThreadOptions, previousAgent?: string, logSuffix?: string): Promise; /** Backward-compatible single scoped-hook entry point. */ export declare function executeLifecycleHook(threadId: string, phase: 'start' | 'transition' | 'end', hookConfig: ThreadHookConfig | undefined, opts: RunThreadOptions, previousAgent?: string, logSuffix?: string): Promise;