import { type StartedMarkerInput, type TerminalManifestInput } from './manifest-contract.js'; export type { StartedMarkerInput, SupervisorEvidence, TerminalManifestInput, TerminalReason, TerminalState, TokenCounts, } from './manifest-contract.js'; export interface JournalHeaderRecord { rootRunId: string; threadId: string | null; agentSlot: string; modelExecutionIdentityHash: string; roleToolSurfaceHash: string; bundleManifestHash: string; } export interface JournalRoleIdentity { roleToolSurfaceHash: string; bundleManifestHash: string; } export declare function resolveLifecyclePaths(input: { trajectoryRoot: string; rootRunId: string; threadId: string | null; }): { started: string; terminal: string; }; export declare function writeStartedMarker(input: StartedMarkerInput): string; export interface TerminalManifestValidationOptions { roleIdentities?: ReadonlyMap; } export declare function writeTerminalManifest(input: TerminalManifestInput, options?: TerminalManifestValidationOptions): string; export interface StartedJournalIdentity extends JournalHeaderRecord { requestedModel: string; provider: string | null; } export declare function readStartedJournalIdentity(input: { trajectoryRoot: string; canonicalTrajectoryRoot?: true; rootRunId: string; threadId: string | null; }): StartedJournalIdentity; export declare function validateTrajectoryLifecycle(input: { trajectoryRoot: string; canonicalTrajectoryRoot?: true; rootRunId: string; threadId: string | null; roleIdentities?: ReadonlyMap; }): { ok: boolean; problems: string[]; }; export declare function validateTrajectoryRoot(root: string): { ok: boolean; problems: string[]; };