import type { SessionAuthContext } from "#channel/types.js"; import type { WorkflowAskRoute } from "#harness/proxy-input-requests.js"; import type { InputResponse } from "#shared/input.js"; import type { ToolInputResponseResponder } from "#tools/definition.js"; export declare function toToolInputResponseResponder(auth: SessionAuthContext | null | undefined): ToolInputResponseResponder | undefined; /** * Sends the answers the session accepted to the asking run's control hook, * the same ordered inbox its commands use, so an answer the session accepted * before an interrupt or cancel reaches the body before them. */ export declare function sendWorkflowAskAnswers(route: WorkflowAskRoute, responses: readonly InputResponse[] | undefined, responder?: ToolInputResponseResponder): Promise;