export interface CodeAgentTranscriptOrderEvent { id: string; createdAt: string; metadata?: Record; } export interface CodeAgentRunStateLike { status?: string; phase?: string; needsApproval?: boolean; metadata?: Record; } export declare function getCodeAgentTranscriptSeq(event: CodeAgentTranscriptOrderEvent): number | null; export declare function compareCodeAgentTranscriptEvents(a: TEvent, b: TEvent): number; export declare function mergeCodeAgentTranscriptEvents(current: readonly TEvent[], incoming: readonly TEvent[]): TEvent[]; export declare function isCodeAgentRunActive(run: CodeAgentRunStateLike): boolean; //# sourceMappingURL=transcript-order.d.ts.map