import type { ProjectAgentSession } from "@sapiom/agent-map"; import type { HarnessSession } from "../shared/types.js"; export type PersistedIdentityMigration = { identity?: ProjectAgentSession; outcome: "unchanged" | "migrated" | "rejected"; }; /** * Recognizes the infrastructure marker written into durable prompt events by * released pre-unification builds. Keep the retired record key isolated here: * it is decoder-only compatibility and never participates in live authority. */ export declare function isPreUnifiedInfrastructureBootstrapPayload(payload: Record): boolean; /** * Accepts the final neutral shape plus the frozen pre-cutover session shape. * Retired role, assignment, and project-bootstrap fields are discarded and * never become authority. */ export declare function migratePersistedProjectIdentity(session: HarnessSession): PersistedIdentityMigration; export declare function removeLegacyProjectSessionMetadata(session: HarnessSession): void; //# sourceMappingURL=project-session-legacy-migration.d.ts.map