import { Effect, Ref } from "effect"; import type { ModelSelection } from "../model/model-registry.js"; import type { ToolSchedulingPolicy } from "./agent.js"; import type { HandoffRunState } from "./handoff-state.js"; /** @internal Resolve turn-scoped authority from the current handoff state. */ export declare const makeActiveTurn: (input: { readonly agent: { readonly name: string; readonly toolScheduling: ToolSchedulingPolicy; }; readonly handoffStateRef?: Ref.Ref; readonly agentModel: ModelSelection | undefined; }) => { activeAgentName: () => Effect.Effect; activeModelSelection: () => Effect.Effect; activeToolScheduling: () => Effect.Effect; sendClock: import("../model/prompt-cache.js").SendClock; };