import { type MonoRuntimeLike, type RuntimeModelReference } from "@mono-agent/runtime-adapter"; import type { AgentHarnessOptions } from "./types.js"; export interface ProviderSessionHandle { readonly providerSessionId: string; readonly modelKey?: string; } export type SessionRuntimeResolver = (modelKey?: string) => MonoRuntimeLike; /** Normalize accepted input aliases before writing a strict persisted binding. */ export declare function sessionModelKey(model: RuntimeModelReference): string; /** Persisted keys are canonical references, never aliases or routing guesses. */ export declare function assertSessionModelKey(value: unknown): asserts value is string; /** Resolve each session's owner with stable runtime identity for this lifetime. */ export declare function createSessionRuntimeResolver(options: Pick): SessionRuntimeResolver; /** Reject contradictory ownership before any destructive operation starts. */ export declare function uniqueSessionHandles(handles: readonly ProviderSessionHandle[]): readonly ProviderSessionHandle[]; //# sourceMappingURL=session-runtime.d.ts.map