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>; /** * Framework-owned source of an input request. * * Consumers use this discriminator for behavior. The action tool name and * request id are presentation and identity fields, not request semantics. */ export type InputRequestKind = z.infer; /** Zod schema for the framework-owned source of an input request. */ export declare const inputRequestKindSchema: z.ZodEnum<{ question: "question"; "session-limit": "session-limit"; "tool-approval": "tool-approval"; }>; /** * Unified input request surfaced to the client when the agent needs user * input before continuing. */ 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>; kind: z.ZodEnum<{ question: "question"; "session-limit": "session-limit"; "tool-approval": "tool-approval"; }>; 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;