/** Retained monitor lines per task; burst gaps between them stay disclosed. */ export declare const SHELL_REPLAY_LINES = 256; /** Lines returned by one tasks.watch call; `more` signals the rest. */ export declare const SHELL_WATCH_PAGE_LINES = 64; /** * A cursor range `(after, next]` with no retained line. `burst` positions were * coalesced by the monitor inside one delivery interval; `evicted` positions * aged out of the replay ring before this cursor read them. */ export interface ShellReplayLoss { after: number; next: number; reason: "burst" | "evicted"; } export interface ShellReplayPage { lines: string[]; losses: ShellReplayLoss[]; omitted: number; nextCursor: number; more: boolean; } /** * Bounded cursor replay for monitor lines, after jev-fabric's retained events: * every accepted line has a monotonic cursor, readers page from any cursor, * and missing positions are disclosed as loss records, never silently joined. */ export declare class ShellReplay { #private; get cursor(): number; /** Records one flushed batch; `omitted` lines preceded `lines` in that interval. */ record(lines: readonly string[], omitted: number): void; page(after: number, limit?: number): ShellReplayPage; } //# sourceMappingURL=shell-replay.d.ts.map