import type { TerminalCommandMark } from "./types.js"; import type { TerminalMarker, TerminalMarkerOptions } from "./scrollbar-types.js"; import type { HistoryMetadata, TerminalCommand } from "./wire-types.js"; /** One RPC in flight lets a coalesced state frame acknowledge each operation without losing replies. */ export declare class MarkerState { #private; constructor(send: (command: TerminalCommand) => void, change: () => void); get markers(): readonly TerminalMarker[]; accept(history: HistoryMetadata | null, revision: number): void; add(options: TerminalMarkerOptions): Promise; remove(id: string): Promise; jump(id: string): Promise; details(id: string): Promise; disconnect(error?: Error): void; } export declare function validateMarkerId(id: string): void; //# sourceMappingURL=marker-state.d.ts.map