import { type CodexBackendMode } from '../providerSettings/definitions/codex.js';
export type PersistedCodexRuntimeIdentity = Readonly<{
    backendMode: CodexBackendMode;
}>;
export type CodexSpawnRuntimeAffinityCompatFields = Readonly<{
    experimentalCodexAcp?: true;
    codexBackendMode?: CodexBackendMode;
}>;
export declare function resolvePersistedCodexRuntimeIdentity(metadata: unknown): PersistedCodexRuntimeIdentity | null;
export declare function resolvePersistedCodexVendorSessionId(metadata: unknown): string | null;
export declare function buildCodexSpawnRuntimeAffinityCompatFields(runtimeIdentity: PersistedCodexRuntimeIdentity | null): CodexSpawnRuntimeAffinityCompatFields;
//# sourceMappingURL=codexRuntimeIdentity.d.ts.map