import type { SessionEntry } from "@earendil-works/pi-coding-agent"; export declare const COMPACTION_CARRY_ENTRY_TYPE = "pi-fabric-compact-carry"; export declare const MAX_CARRY_ITEMS = 16; export declare const MAX_CARRY_ITEM_CHARS: number; export interface CompactionCarryEntryData { version: 1; items: string[]; } export interface CompactionCarryUpdate { items?: string[]; add?: string[]; remove?: string[]; clear?: boolean; } /** Validates a persisted entry; a malformed one fails closed to no carry. */ export declare const decodeCarryEntryData: (data: unknown) => string[] | undefined; export declare const latestCarryItems: (entries: readonly SessionEntry[]) => string[]; export declare const applyCarryUpdate: (current: readonly string[], update: CompactionCarryUpdate) => string[]; export declare const isCarryUpdate: (update: CompactionCarryUpdate) => boolean; export declare const sameCarryItems: (left: readonly string[], right: readonly string[]) => boolean; /** Summary lines for the protected `[Carry Forward]` block. */ export declare const carryRequestLines: (items: readonly string[]) => string[]; //# sourceMappingURL=carry.d.ts.map