import type { AgentContext } from '../service.types.js';
import type { LifecycleEventType, LifecycleHandler } from './types.js';
export declare class LifecycleManager {
    private handlers;
    on<T>(eventType: LifecycleEventType, handler: LifecycleHandler<T>): this;
    emit<T>(eventType: LifecycleEventType, sessionKey: string, payload: T, context: AgentContext): Promise<void>;
    getRegisteredHandlers(): Record<LifecycleEventType, string[]>;
    clear(): void;
}
