import * as plugins from '../dist_ts/plugins.js'; import { type IControllerManagedSessionDocument } from '../dist_ts/classes.managedsessionmodels.js'; import { type IControllerCodexCreationDocument } from '../dist_ts/classes.codexcreationmodels.js'; import { type ControllerCodexConnectionStore } from '../dist_ts/classes.codexconnectionstore.js'; interface IControllerCodexOriginMigrationDocument { id: string; issuerId: string; version: 29; legacyProfileId: string; startedAt: Date; completedAt?: Date; } export declare class ControllerCodexOriginMigrationModel extends plugins.smartdata.SmartDataDbDoc { static exact: plugins.smartdata.TExact; id: string; issuerId: string; version: 29; legacyProfileId: string; startedAt: Date; completedAt?: Date; } export declare const codexMembershipWithLegacyOrigin: (bodyArg: IControllerManagedSessionDocument, profileIdArg: string, directoryArg: string) => IControllerManagedSessionDocument; export declare const codexCreationWithLegacyOrigin: (bodyArg: IControllerCodexCreationDocument, profileIdArg: string, directoryArg: string) => IControllerCodexCreationDocument; /** One-time attribution to the shipped local/environment configuration. Does not contact or mutate providers. */ export declare const migrateCodexOriginsV29: (inputArg: { connections: ControllerCodexConnectionStore; projects: Array<{ id: string; directory: string; }>; pendingRemovalProjects?: Array<{ id: string; directory: string; }>; legacyServerUrl?: string; legacyToken?: string; signal: AbortSignal; }) => Promise<{ localProfileId: string; defaultProfileId: string; }>; export {};