import type { TimelineItem } from "../../timeline/index.js"; /** * Whether the rendered timeline already shows this exact session failure, so * the failed-session banner need not repeat its headline and Details. * Presentation only: retry, billing and sandbox recovery keep their owners. * * The proof is item identity, never wording: the failure event's own notice, * or a failed compaction landmark with diagnostics from the same attempt as the * failure's own turn end. Retry reopens the same logical turn, so a landmark * before that turn's previous settlement belongs to an older failure. A * cleared or paged view that omits the failure proves nothing. */ export declare function timelineShowsFailure(items: readonly TimelineItem[], failure: { failureEventId?: string | null | undefined; turnId?: string | null | undefined; }): boolean;