import { z } from "#compiled/zod/index.js"; /** * One selectable option presented to the user in an input request. */ export type InputOption = z.infer; /** * Zod schema for one input option. * * Includes descriptions because the `ask_question` tool input embeds this * schema and exposes it directly to the model. */ export declare const inputOptionSchema: z.ZodObject<{ description: z.ZodOptional; id: z.ZodString; label: z.ZodString; style: z.ZodOptional>; }, z.core.$strict>; /** * Unified input request surfaced to the client when the agent needs * user input before continuing. * * Tool approvals and questions share this shape. Approvals are requests * with two options (`"approve"` / `"deny"`) and `display: "confirmation"`. */ export type InputRequest = z.infer; /** * Zod schema for one input request. */ export declare const inputRequestSchema: z.ZodObject<{ action: z.ZodObject<{ callId: z.ZodString; input: z.ZodType>; kind: z.ZodLiteral<"tool-call">; toolName: z.ZodString; }, z.core.$strict>; allowFreeform: z.ZodOptional; display: z.ZodOptional>; options: z.ZodOptional; id: z.ZodString; label: z.ZodString; style: z.ZodOptional>; }, z.core.$strict>>>; prompt: z.ZodString; requestId: z.ZodString; }, z.core.$strict>; /** * Unified input response submitted by the client for a pending request. */ export type InputResponse = z.infer; /** * Zod schema for one input response. */ export declare const inputResponseSchema: z.ZodObject<{ optionId: z.ZodOptional; requestId: z.ZodString; text: z.ZodOptional; }, z.core.$strict>; /** * Returns true when a value matches the input request contract. */ export declare function isInputRequest(value: unknown): value is InputRequest; /** * Returns true when a value matches the input response contract. */ export declare function isInputResponse(value: unknown): value is InputResponse;