import { type OpenCodeBackendMode } from '../providerSettings/definitions/opencode.js';
export type OpenCodeSessionAffinity = Readonly<{
    backendMode: OpenCodeBackendMode | null;
    serverBaseUrl: string | null;
    serverBaseUrlExplicit: boolean;
}>;
export type OpenCodeSessionRuntimeHandle = OpenCodeSessionAffinity & Readonly<{
    vendorSessionId: string | null;
}>;
export declare function readOpenCodeSessionAffinityFromMetadata(metadata: unknown): OpenCodeSessionAffinity;
export declare function readOpenCodeSessionRuntimeHandleFromMetadata(metadata: unknown): OpenCodeSessionRuntimeHandle;
//# sourceMappingURL=opencodeSessionRuntimeHandle.d.ts.map