import { z } from "zod"; export declare const AskOptionSchema: z.ZodObject<{ label: z.ZodString; description: z.ZodString; preview: z.ZodOptional; }, z.core.$strip>; export type AskOption = z.infer; export declare const AskQuestionSchema: z.ZodObject<{ question: z.ZodString; header: z.ZodString; multiSelect: z.ZodBoolean; options: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; export type AskQuestion = z.infer; export declare const ProgramAskSchema: z.ZodObject<{ text: z.ZodString; language: z.ZodEnum<{ bash: "bash"; javascript: "javascript"; }>; truncated: z.ZodBoolean; spans: z.ZodArray>; }, z.core.$strip>; export type ProgramAsk = z.infer; export declare const ChildRunSchema: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; harness: z.ZodOptional>; account: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; }, z.core.$strip>; export type ChildRun = z.infer; export declare const ChildMoveSchema: z.ZodEnum<{ answer: "answer"; send: "send"; spawn: "spawn"; }>; export type ChildMove = z.infer; export declare const ChildAgentAskSchema: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; harness: z.ZodOptional>; account: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; move: z.ZodEnum<{ answer: "answer"; send: "send"; spawn: "spawn"; }>; child: z.ZodOptional; task: z.ZodOptional; message: z.ZodOptional; on: z.ZodOptional; proposed: z.ZodOptional>; account: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type ChildAgentAsk = z.infer; export declare const PermissionAskSchema: z.ZodObject<{ toolName: z.ZodString; title: z.ZodOptional; displayName: z.ZodOptional; description: z.ZodOptional; reason: z.ZodOptional; path: z.ZodOptional; alwaysLabel: z.ZodOptional; alwaysAsks: z.ZodOptional>; program: z.ZodOptional; truncated: z.ZodBoolean; spans: z.ZodArray>; }, z.core.$strip>>; child: z.ZodOptional>; account: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; move: z.ZodEnum<{ answer: "answer"; send: "send"; spawn: "spawn"; }>; child: z.ZodOptional; task: z.ZodOptional; message: z.ZodOptional; on: z.ZodOptional; proposed: z.ZodOptional>; account: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; explain: z.ZodOptional; }, z.core.$strip>; export type PermissionAsk = z.infer; export declare const CapabilityOfferSchema: z.ZodObject<{ entry: z.ZodString; name: z.ZodString; why: z.ZodOptional; }, z.core.$strip>; export type CapabilityOffer = z.infer; export declare const PaymentOfferSchema: z.ZodObject<{ url: z.ZodString; description: z.ZodOptional; payTo: z.ZodString; network: z.ZodString; asset: z.ZodString; assetName: z.ZodString; amountUsd: z.ZodString; spentTodayUsd: z.ZodString; dailyCapUsd: z.ZodString; why: z.ZodOptional; }, z.core.$strip>; export type PaymentOffer = z.infer; export declare const CredentialOfferSchema: z.ZodObject<{ subject: z.ZodString; kind: z.ZodEnum<{ capability: "capability"; secret: "secret"; }>; lane: z.ZodEnum<{ browser: "browser"; code: "code"; desktop: "desktop"; device: "device"; gateway: "gateway"; otp: "otp"; session: "session"; shell: "shell"; ssh: "ssh"; }>; detail: z.ZodOptional; why: z.ZodOptional; approvers: z.ZodArray; scope: z.ZodEnum<{ conversation: "conversation"; use: "use"; }>; }, z.core.$strip>; export type CredentialOffer = z.infer; export declare const AgentCommandSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; hint: z.ZodOptional; }, z.core.$strip>; export type AgentCommand = z.infer; export declare const AgentCommandsQuerySchema: z.ZodObject<{ agent: z.ZodOptional; }, z.core.$strip>; export declare const AgentCommandsSchema: z.ZodObject<{ commands: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; export declare const TodoItemSchema: z.ZodObject<{ content: z.ZodString; status: z.ZodEnum<{ completed: "completed"; in_progress: "in_progress"; pending: "pending"; }>; activeForm: z.ZodOptional; }, z.core.$strip>; export type TodoItem = z.infer; export declare const ContextUsageSchema: z.ZodObject<{ tokens: z.ZodNumber; contextWindow: z.ZodNumber; cachedAt: z.ZodOptional; cacheTtlMs: z.ZodOptional; }, z.core.$strip>; export type ContextUsage = z.infer; export declare const ToolKindSchema: z.ZodEnum<{ delete: "delete"; edit: "edit"; execute: "execute"; fetch: "fetch"; move: "move"; other: "other"; read: "read"; search: "search"; think: "think"; }>; export type ToolKind = z.infer; export declare const ToolCallStatusSchema: z.ZodEnum<{ completed: "completed"; failed: "failed"; in_progress: "in_progress"; pending: "pending"; }>; export type ToolCallStatus = z.infer; export declare const ToolCallLocationSchema: z.ZodObject<{ path: z.ZodString; line: z.ZodOptional; }, z.core.$strip>; export type ToolCallLocation = z.infer; export declare const ToolCallContentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"text">; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; path: z.ZodString; oldText: z.ZodOptional; newText: z.ZodString; truncated: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; path: z.ZodString; }, z.core.$strip>], "type">; export type ToolCallContent = z.infer; export declare const RequestDocumentSchema: z.ZodObject<{ path: z.ZodString; title: z.ZodString; markdown: z.ZodString; truncated: z.ZodOptional; plan: z.ZodOptional; }, z.core.$strip>; export type RequestDocument = z.infer; export declare const PAGE_MIN_HEIGHT = 80; export declare const PAGE_MAX_HEIGHT = 2000; export declare const PAGE_TITLE_MAX = 200; export declare const PageSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; path: z.ZodString; height: z.ZodOptional; measured: z.ZodOptional; source: z.ZodOptional; revision: z.ZodOptional; superseded: z.ZodOptional; app: z.ZodOptional>; }, z.core.$strip>; export type Page = z.infer; export declare const PAGE_VALUE_MAX = 64000; export declare const planRequest: { requestId: z.ZodString; text: z.ZodString; document: z.ZodOptional; plan: z.ZodOptional; }, z.core.$strip>>; }; export declare const questionRequest: { requestId: z.ZodString; questions: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; document: z.ZodOptional; plan: z.ZodOptional; }, z.core.$strip>>; }; export declare const permissionRequest: { requestId: z.ZodString; }; export declare const browserHelpRequest: { requestId: z.ZodString; session: z.ZodString; account: z.ZodString; message: z.ZodString; }; export declare const terminalHelpRequest: { requestId: z.ZodString; session: z.ZodString; message: z.ZodString; }; export declare const pageAskRequest: { requestId: z.ZodString; page: z.ZodObject<{ id: z.ZodString; title: z.ZodString; path: z.ZodString; height: z.ZodOptional; measured: z.ZodOptional; source: z.ZodOptional; revision: z.ZodOptional; superseded: z.ZodOptional; app: z.ZodOptional>; }, z.core.$strip>; }; export declare const capabilityOfferRequest: { requestId: z.ZodString; offer: z.ZodObject<{ entry: z.ZodString; name: z.ZodString; why: z.ZodOptional; }, z.core.$strip>; }; export declare const paymentOfferRequest: { requestId: z.ZodString; offer: z.ZodObject<{ url: z.ZodString; description: z.ZodOptional; payTo: z.ZodString; network: z.ZodString; asset: z.ZodString; assetName: z.ZodString; amountUsd: z.ZodString; spentTodayUsd: z.ZodString; dailyCapUsd: z.ZodString; why: z.ZodOptional; }, z.core.$strip>; }; export declare const credentialOfferRequest: { requestId: z.ZodString; offer: z.ZodObject<{ subject: z.ZodString; kind: z.ZodEnum<{ capability: "capability"; secret: "secret"; }>; lane: z.ZodEnum<{ browser: "browser"; code: "code"; desktop: "desktop"; device: "device"; gateway: "gateway"; otp: "otp"; session: "session"; shell: "shell"; ssh: "ssh"; }>; detail: z.ZodOptional; why: z.ZodOptional; approvers: z.ZodArray; scope: z.ZodEnum<{ conversation: "conversation"; use: "use"; }>; }, z.core.$strip>; }; export declare const CapabilityOutcomeSchema: z.ZodObject<{ outcome: z.ZodEnum<{ connected: "connected"; unfinished: "unfinished"; }>; id: z.ZodOptional; }, z.core.$strip>; export type CapabilityOutcome = z.infer; export declare const PaymentReceiptSchema: z.ZodObject<{ outcome: z.ZodEnum<{ failed: "failed"; paid: "paid"; }>; amountUsd: z.ZodString; transaction: z.ZodOptional; network: z.ZodOptional; }, z.core.$strip>; export type PaymentReceipt = z.infer; export declare const CredentialReceiptSchema: z.ZodObject<{ outcome: z.ZodEnum<{ refused: "refused"; released: "released"; }>; approvedBy: z.ZodOptional; }, z.core.$strip>; export type CredentialReceipt = z.infer; export declare const PlanRequestSchema: z.ZodObject<{ requestId: z.ZodString; text: z.ZodString; document: z.ZodOptional; plan: z.ZodOptional; }, z.core.$strip>>; kind: z.ZodLiteral<"plan">; }, z.core.$strip>; export declare const QuestionRequestSchema: z.ZodObject<{ requestId: z.ZodString; questions: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; document: z.ZodOptional; plan: z.ZodOptional; }, z.core.$strip>>; kind: z.ZodLiteral<"question">; }, z.core.$strip>; export declare const PermissionRequestSchema: z.ZodObject<{ toolName: z.ZodString; title: z.ZodOptional; displayName: z.ZodOptional; description: z.ZodOptional; reason: z.ZodOptional; path: z.ZodOptional; alwaysLabel: z.ZodOptional; alwaysAsks: z.ZodOptional>; program: z.ZodOptional; truncated: z.ZodBoolean; spans: z.ZodArray>; }, z.core.$strip>>; child: z.ZodOptional>; account: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; move: z.ZodEnum<{ answer: "answer"; send: "send"; spawn: "spawn"; }>; child: z.ZodOptional; task: z.ZodOptional; message: z.ZodOptional; on: z.ZodOptional; proposed: z.ZodOptional>; account: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; explain: z.ZodOptional; requestId: z.ZodString; kind: z.ZodLiteral<"permission">; }, z.core.$strip>; export declare const PageAskRequestSchema: z.ZodObject<{ requestId: z.ZodString; page: z.ZodObject<{ id: z.ZodString; title: z.ZodString; path: z.ZodString; height: z.ZodOptional; measured: z.ZodOptional; source: z.ZodOptional; revision: z.ZodOptional; superseded: z.ZodOptional; app: z.ZodOptional>; }, z.core.$strip>; kind: z.ZodLiteral<"page_ask">; }, z.core.$strip>; export declare const CapabilityOfferRequestSchema: z.ZodObject<{ requestId: z.ZodString; offer: z.ZodObject<{ entry: z.ZodString; name: z.ZodString; why: z.ZodOptional; }, z.core.$strip>; kind: z.ZodLiteral<"capability_offer">; }, z.core.$strip>; export declare const PaymentOfferRequestSchema: z.ZodObject<{ requestId: z.ZodString; offer: z.ZodObject<{ url: z.ZodString; description: z.ZodOptional; payTo: z.ZodString; network: z.ZodString; asset: z.ZodString; assetName: z.ZodString; amountUsd: z.ZodString; spentTodayUsd: z.ZodString; dailyCapUsd: z.ZodString; why: z.ZodOptional; }, z.core.$strip>; kind: z.ZodLiteral<"payment_offer">; }, z.core.$strip>; export declare const CredentialOfferRequestSchema: z.ZodObject<{ requestId: z.ZodString; offer: z.ZodObject<{ subject: z.ZodString; kind: z.ZodEnum<{ capability: "capability"; secret: "secret"; }>; lane: z.ZodEnum<{ browser: "browser"; code: "code"; desktop: "desktop"; device: "device"; gateway: "gateway"; otp: "otp"; session: "session"; shell: "shell"; ssh: "ssh"; }>; detail: z.ZodOptional; why: z.ZodOptional; approvers: z.ZodArray; scope: z.ZodEnum<{ conversation: "conversation"; use: "use"; }>; }, z.core.$strip>; kind: z.ZodLiteral<"credential_offer">; }, z.core.$strip>; export declare const ParkedRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ requestId: z.ZodString; text: z.ZodString; document: z.ZodOptional; plan: z.ZodOptional; }, z.core.$strip>>; kind: z.ZodLiteral<"plan">; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; questions: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; document: z.ZodOptional; plan: z.ZodOptional; }, z.core.$strip>>; kind: z.ZodLiteral<"question">; }, z.core.$strip>, z.ZodObject<{ toolName: z.ZodString; title: z.ZodOptional; displayName: z.ZodOptional; description: z.ZodOptional; reason: z.ZodOptional; path: z.ZodOptional; alwaysLabel: z.ZodOptional; alwaysAsks: z.ZodOptional>; program: z.ZodOptional; truncated: z.ZodBoolean; spans: z.ZodArray>; }, z.core.$strip>>; child: z.ZodOptional>; account: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; move: z.ZodEnum<{ answer: "answer"; send: "send"; spawn: "spawn"; }>; child: z.ZodOptional; task: z.ZodOptional; message: z.ZodOptional; on: z.ZodOptional; proposed: z.ZodOptional>; account: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; explain: z.ZodOptional; requestId: z.ZodString; kind: z.ZodLiteral<"permission">; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; page: z.ZodObject<{ id: z.ZodString; title: z.ZodString; path: z.ZodString; height: z.ZodOptional; measured: z.ZodOptional; source: z.ZodOptional; revision: z.ZodOptional; superseded: z.ZodOptional; app: z.ZodOptional>; }, z.core.$strip>; kind: z.ZodLiteral<"page_ask">; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; offer: z.ZodObject<{ entry: z.ZodString; name: z.ZodString; why: z.ZodOptional; }, z.core.$strip>; kind: z.ZodLiteral<"capability_offer">; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; offer: z.ZodObject<{ url: z.ZodString; description: z.ZodOptional; payTo: z.ZodString; network: z.ZodString; asset: z.ZodString; assetName: z.ZodString; amountUsd: z.ZodString; spentTodayUsd: z.ZodString; dailyCapUsd: z.ZodString; why: z.ZodOptional; }, z.core.$strip>; kind: z.ZodLiteral<"payment_offer">; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodString; offer: z.ZodObject<{ subject: z.ZodString; kind: z.ZodEnum<{ capability: "capability"; secret: "secret"; }>; lane: z.ZodEnum<{ browser: "browser"; code: "code"; desktop: "desktop"; device: "device"; gateway: "gateway"; otp: "otp"; session: "session"; shell: "shell"; ssh: "ssh"; }>; detail: z.ZodOptional; why: z.ZodOptional; approvers: z.ZodArray; scope: z.ZodEnum<{ conversation: "conversation"; use: "use"; }>; }, z.core.$strip>; kind: z.ZodLiteral<"credential_offer">; }, z.core.$strip>], "kind">; export declare const isRestorableRequest: (event: { readonly kind: string; }) => event is ParkedRequest; export type ParkedRequest = z.infer; //# sourceMappingURL=requests.d.ts.map