import type { SessionEvent } from "@opengeni/sdk"; /** * `onEvent` for each event newer than any seen since the history first * loaded. The first ready read only sets where "new" starts, so loading the * history, an older page or a reconnect's replay calls nothing again. */ export declare function useLiveSessionEvents(sessionId: string | null, events: readonly SessionEvent[], ready: boolean, onEvent: ((event: SessionEvent) => void) | undefined): void;