import { Agent } from '../agent'; import type { Handoff } from '../handoff'; import { RunItem } from '../items'; import { ModelResponse } from '../model'; import type { Runner } from '../run'; import { RunState } from '../runState'; import { NextStep, nextStepSchema } from './steps'; import type { ProcessedResponse } from './types'; import type { Tool } from '../tool'; import { type ApprovalCapableToolCall } from '../toolInvocation'; export declare function preflightModelResponseToolInvocations(agent: Agent, state: RunState>, modelResponse: ModelResponse, tools: Tool[], handoffs: Handoff[], runner: Runner, signal?: AbortSignal): void; export declare function preflightToolInvocations(agent: Agent, state: RunState>, processedResponse: ProcessedResponse): Set; export declare function filterSuppressedToolCallItems(items: readonly RunItem[], suppressed: ReadonlySet): RunItem[]; export { nextStepSchema }; export type { NextStep };