openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
12 lines (11 loc) • 429 B
TypeScript
export type SessionLifecycleEvent = {
sessionKey: string;
reason: string;
parentSessionKey?: string;
label?: string;
displayName?: string;
};
type SessionLifecycleListener = (event: SessionLifecycleEvent) => void;
export declare function onSessionLifecycleEvent(listener: SessionLifecycleListener): () => void;
export declare function emitSessionLifecycleEvent(event: SessionLifecycleEvent): void;
export {};