type MainSessionState = { runtimeSessionId?: string; status: "idle" | "active" | "closed"; }; export declare function extractSessionEventId(event: unknown): string | undefined; export declare function shouldStartMainSession(currentRuntimeSessionId: string | undefined, eventRuntimeSessionId: string): boolean; export declare function shouldReplaceMainSessionOnStartup(mainSession: MainSessionState, eventRuntimeSessionId: string, hasHandledSessionCreated: boolean): boolean; export declare function isTrackedSessionEvent(currentRuntimeSessionId: string | undefined, eventRuntimeSessionId: string): boolean; export {};