import * as z from "zod/v4"; import { InternChatMessageContent, InternChatMessageContent$Outbound } from "./internchatmessagecontent.js"; /** * The answer to an `openrouter.provide_input` tool call. `tool_call_id` is the streamed tool call id and `session_id` must name the same session. For a permission, `content` is one of the offered option kinds (`allow_once`, `allow_always`, `reject_once`, `reject_always`) or `cancel`. For a question (elicitation), `content` is a JSON object string with `action` (`accept`, `decline` or `cancel`) and, for `accept`, `content` holding the field values. The answer is delivered to the run that asked. It never starts a new run. */ export type InternChatToolMessage = { /** * Message text as a string or a list of text parts. Assistant history may carry null. Only the last message is read; earlier messages are accepted so ordinary clients can resend history. */ content: InternChatMessageContent | null; role: "tool"; toolCallId: string; }; /** @internal */ export type InternChatToolMessage$Outbound = { content: InternChatMessageContent$Outbound | null; role: "tool"; tool_call_id: string; }; /** @internal */ export declare const InternChatToolMessage$outboundSchema: z.ZodType; export declare function internChatToolMessageToJSON(internChatToolMessage: InternChatToolMessage): string; //# sourceMappingURL=internchattoolmessage.d.ts.map