import type { AssistantProgress } from "@earendil-works/pi-ai";
import type { RecoveryCarrier } from "../../core/session-recovery-identity.ts";
import type { SeededJsonAgentSessionEvent } from "../json-event.ts";
import type { CompactTransition } from "./compact-transition.ts";
/** A structured-lane record as one acceptance unit carries it: JSON-normal, with the gate's terminal cutoffs. */
export type CanonicalRecord = (SeededJsonAgentSessionEvent | AssistantProgress) & {
    readonly invalidatedBlocks?: readonly number[];
    readonly rewrittenFrom?: number;
};
/** The canonical half of one acceptance unit with its producer identity (RULING-36a R1, RULING-40). */
export interface CanonicalUnit {
    readonly record: CanonicalRecord;
    readonly carrier: RecoveryCarrier;
    readonly ordinal: number;
    readonly firstOrdinal: number;
}
/**
 * S03b-2b's mapping: indexed updates and the three block controls fold as `seeded_block`; outer start/end and the
 * nested start/done/error as `seeded_message`, with the record's client correlation and the gate's cutoffs.
 */
export declare function laneTransition({ record, carrier, ordinal, firstOrdinal, }: CanonicalUnit): CompactTransition | undefined;
//# sourceMappingURL=compact-lane-transitions.d.ts.map