import type { AgentTaskHost } from "./agent-adapter.js"; import type { TaskId } from "./contracts.js"; export type AdmittedAgentTask = { host: AgentTaskHost; taskId: TaskId; }; /** Internal durable callback boundary; admission still belongs to the actual host. */ export declare function collectAgentTasks(signal: AbortSignal, callback: () => Promise, settle: (value: T, tasks: AdmittedAgentTask[]) => Promise): Promise; export declare function trackAdmittedAgentTask(task: AdmittedAgentTask): void; //# sourceMappingURL=execution-scope.d.ts.map