import { Stream } from "effect"; import { Tool } from "effect/unstable/ai"; import { type Event } from "./agent-event.js"; import type { RunError } from "./agent.js"; import type { LoopServices, ObjectSchema, RunLoopContext } from "./run-loop-context.js"; export declare const makeRunLoop: , R, StructuredOutputSchema extends ObjectSchema = ObjectSchema>(context: RunLoopContext) => Stream.Stream>;