import type { SessionContinuityMetadata } from "./types.js"; /** * Infer a continuity status from an incoming transport event. * * NOTE: The `"running"` inference for transport "busy" signals (busy, retry, * running, queued, working, streaming) is **transport-derived**, not * evidence-confirmed. For delegate-task children, the background observer * gates these with a start-evidence check before promoting to running. * * When `requireEvidence` is true, the function will only return `"running"` * from transport signals if `existingLastToolActivityAt` is already set * (i.e., real tool activity has been observed previously). */ export declare function inferContinuityStatusFromEvent(args: { event: unknown; eventType: string; currentStatus?: SessionContinuityMetadata["status"]; /** When true, "running" from transport signals requires prior tool activity. */ requireEvidence?: boolean; /** The record's current lastToolActivityAt, used only when requireEvidence is true. */ existingLastToolActivityAt?: number; }): SessionContinuityMetadata["status"] | undefined; //# sourceMappingURL=runtime.d.ts.map