import type { z } from "zod"; export interface RawJsonRoute { readonly input?: z.ZodType; readonly text?: true; readonly bytes?: true; readonly output: z.ZodType; } export declare const RAW_JSON_ROUTES: { readonly "GET /speech/voices": { readonly output: z.ZodObject<{ voices: z.ZodArray; accent: z.ZodOptional; gender: z.ZodOptional>; model: z.ZodOptional; bytes: z.ZodOptional; installed: z.ZodOptional; }, z.core.$strip>>; defaults: z.ZodRecord; cloud: z.ZodOptional; ready: z.ZodBoolean; languages: z.ZodArray; }, z.core.$strip>>; provisioned: z.ZodBoolean; }, z.core.$strip>; }; readonly "POST /system/enroll/code": { readonly input: z.ZodObject<{ hostName: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ code: z.ZodString; expiresIn: z.ZodNumber; }, z.core.$strip>; }; readonly "GET /members": { readonly output: z.ZodObject<{ members: z.ZodArray; areas: z.ZodOptional>; agents: z.ZodOptional>; edit: z.ZodOptional, z.ZodArray]>>; lands: z.ZodOptional; emailSignIn: z.ZodOptional; credentials: z.ZodOptional; secrets: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; owner: z.ZodOptional; }, z.core.$strip>; }; readonly "POST /members": { readonly input: z.ZodObject<{ email: z.ZodString; role: z.ZodEnum<{ collaborator: "collaborator"; guest: "guest"; maintainer: "maintainer"; viewer: "viewer"; writer: "writer"; }>; areas: z.ZodOptional>; agents: z.ZodOptional>; edit: z.ZodOptional, z.ZodArray]>>; lands: z.ZodOptional; emailSignIn: z.ZodOptional; credentials: z.ZodOptional, z.ZodObject<{ capabilities: z.ZodArray; secrets: z.ZodArray; }, z.core.$strip>]>>; }, z.core.$strip>; readonly output: z.ZodObject<{ members: z.ZodArray; areas: z.ZodOptional>; agents: z.ZodOptional>; edit: z.ZodOptional, z.ZodArray]>>; lands: z.ZodOptional; emailSignIn: z.ZodOptional; credentials: z.ZodOptional; secrets: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "DELETE /members": { readonly input: z.ZodObject<{ email: z.ZodString; }, z.core.$strip>; readonly output: z.ZodObject<{ members: z.ZodArray; areas: z.ZodOptional>; agents: z.ZodOptional>; edit: z.ZodOptional, z.ZodArray]>>; lands: z.ZodOptional; emailSignIn: z.ZodOptional; credentials: z.ZodOptional; secrets: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "DELETE /members/self": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "GET /members/self": { readonly output: z.ZodObject<{ role: z.ZodEnum<{ collaborator: "collaborator"; guest: "guest"; maintainer: "maintainer"; owner: "owner"; viewer: "viewer"; writer: "writer"; }>; agents: z.ZodEnum<{ chat: "chat"; home: "home"; off: "off"; run: "run"; }>; areas: z.ZodOptional>; edit: z.ZodUnion, z.ZodUnion, z.ZodArray]>]>; lands: z.ZodOptional; }, z.core.$strip>; }; readonly "GET /environment": { readonly output: z.ZodObject<{ proposal: z.ZodOptional>; custom: z.ZodOptional>; approved: z.ZodOptional>; appliedHash: z.ZodOptional; container: z.ZodOptional; drift: z.ZodOptional; paths: z.ZodArray; }, z.core.$strip>>; recurring: z.ZodOptional; sessions: z.ZodNumber; lastAt: z.ZodNumber; live: z.ZodBoolean; drafted: z.ZodOptional; declined: z.ZodOptional; step: z.ZodOptional; }, z.core.$strip>>>; localImage: z.ZodOptional; }, z.core.$strip>>; rebuildWhenIdle: z.ZodOptional; waitingOn: z.ZodArray; message: z.ZodOptional; }, z.core.$strip>>; waitsForAgents: z.ZodOptional>; }, z.core.$strip>; }; readonly "GET /environment/contents": { readonly output: z.ZodObject<{ items: z.ZodArray; originLabel: z.ZodOptional; state: z.ZodEnum<{ active: "active"; "after-rebuild": "after-rebuild"; "awaiting-approval": "awaiting-approval"; }>; tools: z.ZodArray; }, z.core.$strip>>; extras: z.ZodOptional; purpose: z.ZodOptional; detail: z.ZodOptional; commands: z.ZodOptional; block: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /environment/approve": { readonly input: z.ZodObject<{ hash: z.ZodString; }, z.core.$strip>; readonly output: z.ZodObject<{ proposal: z.ZodOptional>; custom: z.ZodOptional>; approved: z.ZodOptional>; appliedHash: z.ZodOptional; container: z.ZodOptional; drift: z.ZodOptional; paths: z.ZodArray; }, z.core.$strip>>; recurring: z.ZodOptional; sessions: z.ZodNumber; lastAt: z.ZodNumber; live: z.ZodBoolean; drafted: z.ZodOptional; declined: z.ZodOptional; step: z.ZodOptional; }, z.core.$strip>>>; localImage: z.ZodOptional; }, z.core.$strip>>; rebuildWhenIdle: z.ZodOptional; waitingOn: z.ZodArray; message: z.ZodOptional; }, z.core.$strip>>; waitsForAgents: z.ZodOptional>; }, z.core.$strip>; }; readonly "POST /environment/reject": { readonly output: z.ZodObject<{ proposal: z.ZodOptional>; custom: z.ZodOptional>; approved: z.ZodOptional>; appliedHash: z.ZodOptional; container: z.ZodOptional; drift: z.ZodOptional; paths: z.ZodArray; }, z.core.$strip>>; recurring: z.ZodOptional; sessions: z.ZodNumber; lastAt: z.ZodNumber; live: z.ZodBoolean; drafted: z.ZodOptional; declined: z.ZodOptional; step: z.ZodOptional; }, z.core.$strip>>>; localImage: z.ZodOptional; }, z.core.$strip>>; rebuildWhenIdle: z.ZodOptional; waitingOn: z.ZodArray; message: z.ZodOptional; }, z.core.$strip>>; waitsForAgents: z.ZodOptional>; }, z.core.$strip>; }; readonly "POST /environment/runtime-install": { readonly input: z.ZodObject<{ tool: z.ZodString; decision: z.ZodEnum<{ adopt: "adopt"; dismiss: "dismiss"; restore: "restore"; }>; }, z.core.$strip>; readonly output: z.ZodObject<{ proposal: z.ZodOptional>; custom: z.ZodOptional>; approved: z.ZodOptional>; appliedHash: z.ZodOptional; container: z.ZodOptional; drift: z.ZodOptional; paths: z.ZodArray; }, z.core.$strip>>; recurring: z.ZodOptional; sessions: z.ZodNumber; lastAt: z.ZodNumber; live: z.ZodBoolean; drafted: z.ZodOptional; declined: z.ZodOptional; step: z.ZodOptional; }, z.core.$strip>>>; localImage: z.ZodOptional; }, z.core.$strip>>; rebuildWhenIdle: z.ZodOptional; waitingOn: z.ZodArray; message: z.ZodOptional; }, z.core.$strip>>; waitsForAgents: z.ZodOptional>; }, z.core.$strip>; }; readonly "POST /environment/remove": { readonly input: z.ZodObject<{ block: z.ZodString; }, z.core.$strip>; readonly output: z.ZodObject<{ proposal: z.ZodOptional>; custom: z.ZodOptional>; approved: z.ZodOptional>; appliedHash: z.ZodOptional; container: z.ZodOptional; drift: z.ZodOptional; paths: z.ZodArray; }, z.core.$strip>>; recurring: z.ZodOptional; sessions: z.ZodNumber; lastAt: z.ZodNumber; live: z.ZodBoolean; drafted: z.ZodOptional; declined: z.ZodOptional; step: z.ZodOptional; }, z.core.$strip>>>; localImage: z.ZodOptional; }, z.core.$strip>>; rebuildWhenIdle: z.ZodOptional; waitingOn: z.ZodArray; message: z.ZodOptional; }, z.core.$strip>>; waitsForAgents: z.ZodOptional>; }, z.core.$strip>; }; readonly "POST /environment/rebuild-when-idle": { readonly input: z.ZodObject<{ host: z.ZodString; hash: z.ZodString; }, z.core.$strip>; readonly output: z.ZodObject<{ proposal: z.ZodOptional>; custom: z.ZodOptional>; approved: z.ZodOptional>; appliedHash: z.ZodOptional; container: z.ZodOptional; drift: z.ZodOptional; paths: z.ZodArray; }, z.core.$strip>>; recurring: z.ZodOptional; sessions: z.ZodNumber; lastAt: z.ZodNumber; live: z.ZodBoolean; drafted: z.ZodOptional; declined: z.ZodOptional; step: z.ZodOptional; }, z.core.$strip>>>; localImage: z.ZodOptional; }, z.core.$strip>>; rebuildWhenIdle: z.ZodOptional; waitingOn: z.ZodArray; message: z.ZodOptional; }, z.core.$strip>>; waitsForAgents: z.ZodOptional>; }, z.core.$strip>; }; readonly "DELETE /environment/rebuild-when-idle": { readonly output: z.ZodObject<{ proposal: z.ZodOptional>; custom: z.ZodOptional>; approved: z.ZodOptional>; appliedHash: z.ZodOptional; container: z.ZodOptional; drift: z.ZodOptional; paths: z.ZodArray; }, z.core.$strip>>; recurring: z.ZodOptional; sessions: z.ZodNumber; lastAt: z.ZodNumber; live: z.ZodBoolean; drafted: z.ZodOptional; declined: z.ZodOptional; step: z.ZodOptional; }, z.core.$strip>>>; localImage: z.ZodOptional; }, z.core.$strip>>; rebuildWhenIdle: z.ZodOptional; waitingOn: z.ZodArray; message: z.ZodOptional; }, z.core.$strip>>; waitsForAgents: z.ZodOptional>; }, z.core.$strip>; }; readonly "GET /engines": { readonly output: z.ZodObject<{ engines: z.ZodArray; label: z.ZodString; running: z.ZodObject<{ version: z.ZodOptional; source: z.ZodEnum<{ image: "image"; store: "store"; }>; }, z.core.$strip>; baked: z.ZodOptional; channel: z.ZodObject<{ kind: z.ZodEnum<{ blessed: "blessed"; image: "image"; latest: "latest"; pinned: "pinned"; }>; version: z.ZodOptional; }, z.core.$strip>; offered: z.ZodOptional>; blessed: z.ZodOptional; previous: z.ZodOptional; quarantined: z.ZodArray>; diskBytes: z.ZodNumber; installing: z.ZodOptional; }, z.core.$strip>>; checkedAt: z.ZodOptional; listSource: z.ZodString; listReadAt: z.ZodOptional; }, z.core.$strip>; }; readonly "POST /engines/channel": { readonly input: z.ZodObject<{ id: z.ZodEnum<{ claude: "claude"; codex: "codex"; cursor: "cursor"; devin: "devin"; "grok-build": "grok-build"; kimi: "kimi"; muse: "muse"; opencode: "opencode"; translator: "translator"; }>; kind: z.ZodEnum<{ blessed: "blessed"; image: "image"; latest: "latest"; pinned: "pinned"; }>; version: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ applied: z.ZodNullable; version: z.ZodString; source: z.ZodEnum<{ image: "image"; store: "store"; }>; fromNextTurn: z.ZodBoolean; }, z.core.$strip>>; engines: z.ZodObject<{ engines: z.ZodArray; label: z.ZodString; running: z.ZodObject<{ version: z.ZodOptional; source: z.ZodEnum<{ image: "image"; store: "store"; }>; }, z.core.$strip>; baked: z.ZodOptional; channel: z.ZodObject<{ kind: z.ZodEnum<{ blessed: "blessed"; image: "image"; latest: "latest"; pinned: "pinned"; }>; version: z.ZodOptional; }, z.core.$strip>; offered: z.ZodOptional>; blessed: z.ZodOptional; previous: z.ZodOptional; quarantined: z.ZodArray>; diskBytes: z.ZodNumber; installing: z.ZodOptional; }, z.core.$strip>>; checkedAt: z.ZodOptional; listSource: z.ZodString; listReadAt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }; readonly "POST /engines/update": { readonly input: z.ZodObject<{ id: z.ZodEnum<{ claude: "claude"; codex: "codex"; cursor: "cursor"; devin: "devin"; "grok-build": "grok-build"; kimi: "kimi"; muse: "muse"; opencode: "opencode"; translator: "translator"; }>; version: z.ZodOptional; floor: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ applied: z.ZodNullable; version: z.ZodString; source: z.ZodEnum<{ image: "image"; store: "store"; }>; fromNextTurn: z.ZodBoolean; }, z.core.$strip>>; engines: z.ZodObject<{ engines: z.ZodArray; label: z.ZodString; running: z.ZodObject<{ version: z.ZodOptional; source: z.ZodEnum<{ image: "image"; store: "store"; }>; }, z.core.$strip>; baked: z.ZodOptional; channel: z.ZodObject<{ kind: z.ZodEnum<{ blessed: "blessed"; image: "image"; latest: "latest"; pinned: "pinned"; }>; version: z.ZodOptional; }, z.core.$strip>; offered: z.ZodOptional>; blessed: z.ZodOptional; previous: z.ZodOptional; quarantined: z.ZodArray>; diskBytes: z.ZodNumber; installing: z.ZodOptional; }, z.core.$strip>>; checkedAt: z.ZodOptional; listSource: z.ZodString; listReadAt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }; readonly "POST /engines/revert": { readonly input: z.ZodObject<{ id: z.ZodEnum<{ claude: "claude"; codex: "codex"; cursor: "cursor"; devin: "devin"; "grok-build": "grok-build"; kimi: "kimi"; muse: "muse"; opencode: "opencode"; translator: "translator"; }>; }, z.core.$strip>; readonly output: z.ZodObject<{ applied: z.ZodNullable; version: z.ZodString; source: z.ZodEnum<{ image: "image"; store: "store"; }>; fromNextTurn: z.ZodBoolean; }, z.core.$strip>>; engines: z.ZodObject<{ engines: z.ZodArray; label: z.ZodString; running: z.ZodObject<{ version: z.ZodOptional; source: z.ZodEnum<{ image: "image"; store: "store"; }>; }, z.core.$strip>; baked: z.ZodOptional; channel: z.ZodObject<{ kind: z.ZodEnum<{ blessed: "blessed"; image: "image"; latest: "latest"; pinned: "pinned"; }>; version: z.ZodOptional; }, z.core.$strip>; offered: z.ZodOptional>; blessed: z.ZodOptional; previous: z.ZodOptional; quarantined: z.ZodArray>; diskBytes: z.ZodNumber; installing: z.ZodOptional; }, z.core.$strip>>; checkedAt: z.ZodOptional; listSource: z.ZodString; listReadAt: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }; readonly "GET /definition": { readonly output: z.ZodObject<{ toml: z.ZodString; omitted: z.ZodArray>; }, z.core.$strip>; }; readonly "POST /definition/diff": { readonly text: true; readonly output: z.ZodObject<{ differences: z.ZodArray>; }, z.core.$strip>; }; readonly "GET /definition/workspace": { readonly output: z.ZodObject<{ remote: z.ZodOptional; branch: z.ZodOptional; hosts: z.ZodArray; }, z.core.$strip>; }; readonly "POST /definition/workspace/publish": { readonly input: z.ZodObject<{ remote: z.ZodOptional; name: z.ZodOptional; owner: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ remote: z.ZodString; branch: z.ZodString; created: z.ZodBoolean; }, z.core.$strip>; }; readonly "GET /arrivals/hosts": { readonly output: z.ZodObject<{ hosts: z.ZodArray>; detail: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /arrivals/scan": { readonly input: z.ZodObject<{ host: z.ZodString; }, z.core.$strip>; readonly output: z.ZodObject<{ source: z.ZodEnum<{ bundle: "bundle"; definition: "definition"; hermes: "hermes"; openclaw: "openclaw"; }>; token: z.ZodString; name: z.ZodOptional; items: z.ZodArray; label: z.ZodString; detail: z.ZodOptional; applicable: z.ZodBoolean; reason: z.ZodOptional; recommended: z.ZodBoolean; secrets: z.ZodArray; }, z.core.$strip>>; carriesSecrets: z.ZodBoolean; refused: z.ZodArray; needsAction: z.ZodArray>; }, z.core.$strip>; }; readonly "POST /arrivals/plan": { readonly bytes: true; readonly output: z.ZodObject<{ source: z.ZodEnum<{ bundle: "bundle"; definition: "definition"; hermes: "hermes"; openclaw: "openclaw"; }>; token: z.ZodString; name: z.ZodOptional; items: z.ZodArray; label: z.ZodString; detail: z.ZodOptional; applicable: z.ZodBoolean; reason: z.ZodOptional; recommended: z.ZodBoolean; secrets: z.ZodArray; }, z.core.$strip>>; carriesSecrets: z.ZodBoolean; refused: z.ZodArray; needsAction: z.ZodArray>; }, z.core.$strip>; }; readonly "POST /arrivals/apply": { readonly input: z.ZodObject<{ token: z.ZodString; items: z.ZodArray; includeSecrets: z.ZodBoolean; }, z.core.$strip>; readonly output: z.ZodObject<{ applied: z.ZodArray; label: z.ZodString; }, z.core.$strip>>; failed: z.ZodArray>; refused: z.ZodArray; needsAction: z.ZodArray>; presentation: z.ZodOptional; image: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "GET /arrivals/keys": { readonly output: z.ZodObject<{ keys: z.ZodArray; host: z.ZodString; hint: z.ZodString; applicable: z.ZodBoolean; added: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /arrivals/keys/apply": { readonly input: z.ZodObject<{ ids: z.ZodArray; }, z.core.$strip>; readonly output: z.ZodObject<{ added: z.ZodArray>; failed: z.ZodArray>; }, z.core.$strip>; }; readonly "DELETE /arrivals": { readonly output: z.ZodObject<{ ok: z.ZodBoolean; }, z.core.$strip>; }; readonly "GET /bundles": { readonly output: z.ZodObject<{ exports: z.ZodArray; bytes: z.ZodNumber; createdAt: z.ZodNumber; secrets: z.ZodBoolean; error: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /bundles": { readonly output: z.ZodObject<{ name: z.ZodString; }, z.core.$strip>; }; readonly "DELETE /bundles": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "POST /bundles/ticket": { readonly output: z.ZodObject<{ ticket: z.ZodString; expiresAt: z.ZodNumber; }, z.core.$strip>; }; readonly "GET /system/hosts": { readonly output: z.ZodObject<{ hosts: z.ZodArray; platform: z.ZodString; environments: z.ZodArray; online: z.ZodBoolean; version: z.ZodOptional; lastSeen: z.ZodOptional; facts: z.ZodOptional; os: z.ZodString; arch: z.ZodString; shell: z.ZodString; home: z.ZodString; roots: z.ZodArray; engine: z.ZodOptional>; hostname: z.ZodOptional; wsl: z.ZodOptional>; wslDistros: z.ZodOptional>; links: z.ZodOptional; }, z.core.$strip>>; features: z.ZodOptional>; icOutOfDate: z.ZodOptional; upkeep: z.ZodOptional; fixed: z.ZodRecord; skipped: z.ZodArray>; }, z.core.$strip>>; previousExit: z.ZodOptional; ic: z.ZodOptional; }, z.core.$strip>>; icOverrides: z.ZodOptional>; intenticOs: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; online: z.ZodBoolean; version: z.ZodOptional; lastSeen: z.ZodOptional; facts: z.ZodOptional; os: z.ZodString; arch: z.ZodString; shell: z.ZodString; home: z.ZodString; roots: z.ZodArray; engine: z.ZodOptional>; hostname: z.ZodOptional; wsl: z.ZodOptional>; wslDistros: z.ZodOptional>; links: z.ZodOptional; }, z.core.$strip>>; features: z.ZodOptional>; icOutOfDate: z.ZodOptional; upkeep: z.ZodOptional; fixed: z.ZodRecord; skipped: z.ZodArray>; }, z.core.$strip>>; previousExit: z.ZodOptional; ic: z.ZodOptional; }, z.core.$strip>>; icOverrides: z.ZodOptional>; intenticOs: z.ZodOptional>; }, z.core.$strip>>; manages: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /system/hosts/pair": { readonly output: z.ZodObject<{ token: z.ZodString; expiresIn: z.ZodOptional; code: z.ZodOptional; }, z.core.$strip>; }; readonly "DELETE /system/hosts/{id}": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "GET /system/webext": { readonly output: z.ZodObject<{ browsers: z.ZodArray; lastSeen: z.ZodOptional; facts: z.ZodOptional; }, z.core.$strip>>; paused: z.ZodBoolean; features: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /system/webext/pair": { readonly output: z.ZodObject<{ token: z.ZodString; expiresIn: z.ZodOptional; code: z.ZodOptional; }, z.core.$strip>; }; readonly "DELETE /system/webext/{id}": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "GET /system/phones": { readonly output: z.ZodObject<{ phones: z.ZodArray; version: z.ZodOptional; lastSeen: z.ZodOptional; facts: z.ZodOptional; paused: z.ZodBoolean; access: z.ZodObject<{ accessibility: z.ZodBoolean; notifications: z.ZodBoolean; screenCapture: z.ZodString; }, z.core.$strip>; folders: z.ZodArray>; apps: z.ZodArray; }, z.core.$strip>>; battery: z.ZodOptional>; wake: z.ZodOptional>; features: z.ZodOptional>; }, z.core.$strip>>; wake: z.ZodEnum<{ none: "none"; ready: "ready"; register: "register"; }>; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /system/phones/pair": { readonly output: z.ZodObject<{ token: z.ZodString; expiresIn: z.ZodOptional; code: z.ZodOptional; }, z.core.$strip>; }; readonly "DELETE /system/phones/{id}": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "POST /system/phones/{id}/wake": { readonly input: z.ZodObject<{ token: z.ZodString; channel: z.ZodObject<{ kind: z.ZodLiteral<"relay">; url: z.ZodURL; deviceId: z.ZodString; secret: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "GET /system/phones/passwords/keyrings": { readonly output: z.ZodObject<{ keyrings: z.ZodArray; inbox: z.ZodOptional; remember: z.ZodBoolean; paired: z.ZodBoolean; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /system/phones/passwords/pair": { readonly input: z.ZodObject<{ keyring: z.ZodString; phone: z.ZodObject<{ device: z.ZodString; label: z.ZodString; seal: z.ZodString; presence: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; fingerprint: z.ZodString; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; code: z.ZodEnum<{ "bad-grant": "bad-grant"; busy: "busy"; declined: "declined"; expired: "expired"; guard: "guard"; locked: "locked"; "no-keyring": "no-keyring"; "not-shared": "not-shared"; pending: "pending"; replayed: "replayed"; unavailable: "unavailable"; unknown: "unknown"; }>; refusal: z.ZodString; }, z.core.$strip>], "ok">; }; readonly "POST /system/phones/passwords/capture": { readonly input: z.ZodObject<{ keyring: z.ZodString; item: z.ZodObject<{ origin: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"site">; host: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"program">; program: z.ZodString; label: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"package">; package: z.ZodString; label: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"ssh">; target: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"ssh-key">; path: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"sudo">; user: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"git">; url: z.ZodString; }, z.core.$strict>, z.ZodObject<{ kind: z.ZodLiteral<"prompt">; text: z.ZodString; command: z.ZodOptional; sandbox: z.ZodOptional; }, z.core.$strict>], "kind">; username: z.ZodOptional; sealed: z.ZodObject<{ v: z.ZodLiteral<1>; epk: z.ZodString; iv: z.ZodString; tag: z.ZodString; data: z.ZodString; }, z.core.$strict>; source: z.ZodEnum<{ agent: "agent"; app: "app"; askpass: "askpass"; browser: "browser"; git: "git"; import: "import"; manual: "manual"; phone: "phone"; terminal: "terminal"; }>; via: z.ZodString; kind: z.ZodDefault>; title: z.ZodOptional; at: z.ZodNumber; failed: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>; readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; outcome: z.ZodEnum<{ pending: "pending"; saved: "saved"; skipped: "skipped"; unchanged: "unchanged"; updated: "updated"; }>; name: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; code: z.ZodEnum<{ "bad-grant": "bad-grant"; busy: "busy"; declined: "declined"; expired: "expired"; guard: "guard"; locked: "locked"; "no-keyring": "no-keyring"; "not-shared": "not-shared"; pending: "pending"; replayed: "replayed"; unavailable: "unavailable"; unknown: "unknown"; }>; refusal: z.ZodString; }, z.core.$strip>], "ok">; }; readonly "POST /system/phones/passwords/fill": { readonly input: z.ZodObject<{ keyring: z.ZodString; fill: z.ZodObject<{ payload: z.ZodString; sig: z.ZodString; }, z.core.$strict>; }, z.core.$strict>; readonly output: z.ZodDiscriminatedUnion<[z.ZodObject<{ ok: z.ZodLiteral; username: z.ZodOptional; sealed: z.ZodObject<{ v: z.ZodLiteral<1>; epk: z.ZodString; iv: z.ZodString; tag: z.ZodString; data: z.ZodString; }, z.core.$strict>; name: z.ZodString; title: z.ZodString; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; code: z.ZodEnum<{ "bad-grant": "bad-grant"; busy: "busy"; declined: "declined"; expired: "expired"; guard: "guard"; locked: "locked"; "no-keyring": "no-keyring"; "not-shared": "not-shared"; pending: "pending"; replayed: "replayed"; unavailable: "unavailable"; unknown: "unknown"; }>; refusal: z.ZodString; }, z.core.$strip>], "ok">; }; readonly "GET /system/runners": { readonly output: z.ZodObject<{ runners: z.ZodArray; online: z.ZodBoolean; version: z.ZodOptional; image: z.ZodOptional; channel: z.ZodOptional; overlayHash: z.ZodOptional; facts: z.ZodOptional; memoryLimitMb: z.ZodOptional; cpuPressure: z.ZodOptional; memoryStall: z.ZodOptional; }, z.core.$strip>>; lastSeen: z.ZodOptional; parity: z.ZodEnum<{ current: "current"; outdated: "outdated"; unknown: "unknown"; }>; drift: z.ZodOptional>>; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "DELETE /system/runners/{id}": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "POST /system/runners/{id}/definition/sync": { readonly output: z.ZodObject<{ settings: z.ZodArray; }, z.core.$strip>; }; readonly "GET /system/sync": { readonly output: z.ZodObject<{ enrolled: z.ZodBoolean; syncing: z.ZodOptional; available: z.ZodOptional; machines: z.ZodOptional; hostname: z.ZodString; os: z.ZodString; wsl: z.ZodOptional>; pairings: z.ZodArray; mode: z.ZodEnum<{ mirror: "mirror"; sync: "sync"; }>; localDir: z.ZodOptional; remoteDir: z.ZodOptional; deliver: z.ZodOptional>; slug: z.ZodOptional; mirroring: z.ZodOptional>; mutagenStatus: z.ZodOptional; copy: z.ZodOptional; bytes: z.ZodOptional; stagedFiles: z.ZodOptional; stagingFiles: z.ZodOptional; stagedBytes: z.ZodOptional; }, z.core.$strip>>; conflicts: z.ZodOptional; conflictedPaths: z.ZodOptional>; sandbox: z.ZodOptional>; nature: z.ZodOptional>; }, z.core.$strip>>>; paused: z.ZodOptional; heldBy: z.ZodOptional>; backupStatus: z.ZodOptional; lowDisk: z.ZodOptional>; bridgeHolds: z.ZodOptional>; failures: z.ZodNumber; since: z.ZodNumber; retryAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>>; ports: z.ZodArray; sandboxId: z.ZodString; state: z.ZodEnum<{ busy: "busy"; "held-by-sandbox": "held-by-sandbox"; ignored: "ignored"; mirrored: "mirrored"; }>; heldBy: z.ZodOptional; command: z.ZodOptional; }, z.core.$strip>>; agent: z.ZodObject<{ running: z.ZodBoolean; pid: z.ZodOptional; installed: z.ZodOptional; build: z.ZodOptional; lastTickAt: z.ZodOptional; }, z.core.$strip>; capturedAt: z.ZodNumber; }, z.core.$strip>>>; }, z.core.$strip>; }; readonly "POST /system/sync/pair": { readonly input: z.ZodObject<{ syncDir: z.ZodOptional; takeover: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ token: z.ZodString; expiresIn: z.ZodOptional; code: z.ZodOptional; mode: z.ZodOptional>; }, z.core.$strip>; }; readonly "DELETE /system/authorized-key/{machine}": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "POST /system/sessions/revoke": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "GET /system/links": { readonly output: z.ZodObject<{ links: z.ZodArray; url: z.ZodOptional; }, z.core.$strip>>; terms: z.ZodObject<{ actsAs: z.ZodOptional; approve: z.ZodDefault; turnsPerHour: z.ZodDefault; }, z.core.$strip>; createdAt: z.ZodNumber; createdBy: z.ZodOptional; lastUsedAt: z.ZodOptional; conversations: z.ZodNumber; requests: z.ZodArray; askedAt: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /system/links": { readonly input: z.ZodObject<{ label: z.ZodString; from: z.ZodOptional; url: z.ZodOptional; }, z.core.$strip>>; terms: z.ZodOptional>; approve: z.ZodOptional>; turnsPerHour: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; readonly output: z.ZodObject<{ id: z.ZodString; token: z.ZodString; }, z.core.$strip>; }; readonly "POST /system/links/{id}": { readonly input: z.ZodObject<{ actsAs: z.ZodOptional>; approve: z.ZodOptional>; turnsPerHour: z.ZodOptional>; label: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ id: z.ZodString; label: z.ZodString; from: z.ZodOptional; url: z.ZodOptional; }, z.core.$strip>>; terms: z.ZodObject<{ actsAs: z.ZodOptional; approve: z.ZodDefault; turnsPerHour: z.ZodDefault; }, z.core.$strip>; createdAt: z.ZodNumber; createdBy: z.ZodOptional; lastUsedAt: z.ZodOptional; conversations: z.ZodNumber; requests: z.ZodArray; askedAt: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "DELETE /system/links/{id}": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "POST /system/links/{id}/requests/{request}": { readonly input: z.ZodObject<{ approve: z.ZodBoolean; }, z.core.$strip>; readonly output: z.ZodObject<{ id: z.ZodString; label: z.ZodString; from: z.ZodOptional; url: z.ZodOptional; }, z.core.$strip>>; terms: z.ZodObject<{ actsAs: z.ZodOptional; approve: z.ZodDefault; turnsPerHour: z.ZodDefault; }, z.core.$strip>; createdAt: z.ZodNumber; createdBy: z.ZodOptional; lastUsedAt: z.ZodOptional; conversations: z.ZodNumber; requests: z.ZodArray; askedAt: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "GET /link": { readonly output: z.ZodObject<{ sandbox: z.ZodString; link: z.ZodObject<{ id: z.ZodString; label: z.ZodString; }, z.core.$strip>; terms: z.ZodObject<{ approve: z.ZodBoolean; turnsPerHour: z.ZodNumber; persona: z.ZodOptional; }, z.core.$strip>; maxHops: z.ZodNumber; }, z.core.$strip>; }; readonly "POST /link/conversations": { readonly input: z.ZodObject<{ requestId: z.ZodString; task: z.ZodString; title: z.ZodOptional; hops: z.ZodDefault; tainted: z.ZodOptional; from: z.ZodOptional; title: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; readonly output: z.ZodObject<{ conversationId: z.ZodString; state: z.ZodEnum<{ blocked: "blocked"; declined: "declined"; failed: "failed"; finished: "finished"; held: "held"; running: "running"; stopped: "stopped"; }>; title: z.ZodOptional; report: z.ZodOptional; question: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; waitingOn: z.ZodOptional; error: z.ZodOptional; version: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strip>; }; readonly "GET /link/conversations/{id}": { readonly output: z.ZodObject<{ conversationId: z.ZodString; state: z.ZodEnum<{ blocked: "blocked"; declined: "declined"; failed: "failed"; finished: "finished"; held: "held"; running: "running"; stopped: "stopped"; }>; title: z.ZodOptional; report: z.ZodOptional; question: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; waitingOn: z.ZodOptional; error: z.ZodOptional; version: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strip>; }; readonly "POST /link/conversations/{id}/messages": { readonly input: z.ZodObject<{ message: z.ZodString; messageId: z.ZodOptional; tainted: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ delivered: z.ZodEnum<{ queued: "queued"; started: "started"; steered: "steered"; }>; }, z.core.$strip>; }; readonly "POST /link/conversations/{id}/answer": { readonly input: z.ZodObject<{ requestId: z.ZodString; answers: z.ZodRecord>; }, z.core.$strip>; readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "POST /link/conversations/{id}/stop": { readonly output: z.ZodObject<{ conversationId: z.ZodString; state: z.ZodEnum<{ blocked: "blocked"; declined: "declined"; failed: "failed"; finished: "finished"; held: "held"; running: "running"; stopped: "stopped"; }>; title: z.ZodOptional; report: z.ZodOptional; question: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>>; waitingOn: z.ZodOptional; error: z.ZodOptional; version: z.ZodNumber; updatedAt: z.ZodNumber; }, z.core.$strip>; }; readonly "GET /system/control/tokens": { readonly output: z.ZodObject<{ tokens: z.ZodArray; createdAt: z.ZodNumber; createdBy: z.ZodOptional; expiresAt: z.ZodOptional; lastUsedAt: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; }; readonly "POST /system/control/tokens": { readonly input: z.ZodObject<{ scope: z.ZodEnum<{ drive: "drive"; editor: "editor"; land: "land"; read: "read"; }>; label: z.ZodOptional; expiresAt: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ id: z.ZodString; token: z.ZodString; }, z.core.$strip>; }; readonly "DELETE /system/control/tokens/{id}": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "GET /system/passkeys": { readonly output: z.ZodObject<{ passkeys: z.ZodArray; backedUp: z.ZodBoolean; }, z.core.$strip>>; required: z.ZodBoolean; recovery: z.ZodOptional>; }, z.core.$strip>; }; readonly "POST /system/passkeys/register/options": { readonly output: z.ZodCustom; }; readonly "POST /system/passkeys/register": { readonly input: z.ZodObject<{ response: z.ZodObject<{ id: z.ZodString; rawId: z.ZodString; type: z.ZodLiteral<"public-key">; response: z.ZodObject<{ clientDataJSON: z.ZodString; attestationObject: z.ZodString; transports: z.ZodOptional>; }, z.core.$strip>; authenticatorAttachment: z.ZodOptional; clientExtensionResults: z.ZodOptional>; }, z.core.$strip>; label: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ passkey: z.ZodObject<{ id: z.ZodString; email: z.ZodString; label: z.ZodString; rpId: z.ZodString; createdAt: z.ZodNumber; lastUsedAt: z.ZodOptional; backedUp: z.ZodBoolean; }, z.core.$strip>; session: z.ZodOptional>; }, z.core.$strip>; }; readonly "POST /system/passkeys/policy": { readonly input: z.ZodObject<{ required: z.ZodBoolean; }, z.core.$strip>; readonly output: z.ZodObject<{ required: z.ZodBoolean; codes: z.ZodOptional>; }, z.core.$strip>; }; readonly "POST /system/passkeys/recovery": { readonly output: z.ZodObject<{ codes: z.ZodArray; }, z.core.$strip>; }; readonly "DELETE /system/passkeys/{id}": { readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "POST /system/passkeys/assert/options": { readonly output: z.ZodCustom; }; readonly "POST /system/passkeys/assert": { readonly input: z.ZodObject<{ response: z.ZodObject<{ id: z.ZodString; rawId: z.ZodString; type: z.ZodLiteral<"public-key">; response: z.ZodObject<{ clientDataJSON: z.ZodString; authenticatorData: z.ZodString; signature: z.ZodString; userHandle: z.ZodOptional; }, z.core.$strip>; authenticatorAttachment: z.ZodOptional; clientExtensionResults: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; readonly output: z.ZodObject<{ token: z.ZodString; expiresAt: z.ZodNumber; email: z.ZodString; }, z.core.$strip>; }; readonly "POST /system/session/recover": { readonly input: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; readonly output: z.ZodObject<{ token: z.ZodString; expiresAt: z.ZodNumber; email: z.ZodString; remaining: z.ZodNumber; }, z.core.$strip>; }; readonly "GET /speech/status": { readonly output: z.ZodObject<{ provisioned: z.ZodBoolean; model: z.ZodEnum<{ absent: "absent"; downloading: "downloading"; failed: "failed"; ready: "ready"; }>; engine: z.ZodOptional>; loaded: z.ZodOptional; received: z.ZodOptional; total: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }; readonly "POST /speech/prepare": { readonly output: z.ZodObject<{ provisioned: z.ZodBoolean; model: z.ZodEnum<{ absent: "absent"; downloading: "downloading"; failed: "failed"; ready: "ready"; }>; engine: z.ZodOptional>; loaded: z.ZodOptional; received: z.ZodOptional; total: z.ZodOptional; error: z.ZodOptional; }, z.core.$strip>; }; readonly "POST /speech/transcribe": { readonly bytes: true; readonly output: z.ZodObject<{ text: z.ZodString; }, z.core.$strip>; }; readonly "POST /speech/wake": { readonly input: z.ZodObject<{ device: z.ZodString; holdMs: z.ZodOptional; }, z.core.$strip>; readonly output: z.ZodObject<{ granted: z.ZodBoolean; }, z.core.$strip>; }; readonly "POST /workspace/upload": { readonly bytes: true; readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "POST /workspace/upload-archive": { readonly bytes: true; readonly output: z.ZodObject<{ ok: z.ZodLiteral; }, z.core.$strip>; }; readonly "POST /workspace/upload-diff": { readonly input: z.ZodObject<{ files: z.ZodArray>; }, z.core.$strip>; readonly output: z.ZodObject<{ skip: z.ZodArray; }, z.core.$strip>; }; }; export type RawJsonRouteKey = keyof typeof RAW_JSON_ROUTES; export type RawJsonOutput = z.output<(typeof RAW_JSON_ROUTES)[Key]["output"]>; export type RawBytesRouteKey = { [Key in RawJsonRouteKey]: (typeof RAW_JSON_ROUTES)[Key] extends { readonly bytes: true; } ? Key : never; }[RawJsonRouteKey]; export type RawBytes = Blob | ArrayBuffer | ArrayBufferView | string; export type RawJsonInput = (typeof RAW_JSON_ROUTES)[Key] extends { readonly input: infer Input extends z.ZodType; } ? z.input : (typeof RAW_JSON_ROUTES)[Key] extends { readonly text: true; } ? string : (typeof RAW_JSON_ROUTES)[Key] extends { readonly bytes: true; } ? RawBytes : undefined; //# sourceMappingURL=raw-json-routes.d.ts.map