import { z } from "zod"; export declare const RUNNER_PARENT_URL_ENV = "RUNNER_PARENT_URL"; export declare const RUNNER_PAIR_TOKEN_ENV = "RUNNER_PAIR_TOKEN"; export declare const RunnerHelloSchema: z.ZodObject<{ type: z.ZodLiteral<"runner-hello">; token: z.ZodString; version: z.ZodString; image: z.ZodString; baseImage: z.ZodOptional; baseDigest: z.ZodOptional; channel: z.ZodOptional; overlayHash: z.ZodOptional; definitionToml: z.ZodOptional; }, z.core.$strip>; export type RunnerHello = z.infer; export declare const RUNNER_HEARTBEAT_MS = 30000; export declare const runnerConnectUrl: (parentUrl: string) => string; export declare const runnerEnrollUrl: (parentUrl: string) => string; export declare const runnerGitUrl: (parentUrl: string, repo: string) => string; export declare const runnerIncomingRef: (conversationId: string) => string; export declare const runnerSlug: (name: string) => string; export declare const runnerCredentialsUrl: (parentUrl: string) => string; export declare const runnerCredentialRefreshUrl: (parentUrl: string) => string; export declare const runnerTranslatorPath = "/system/runners/translator"; export declare const runnerTranslatorUrl: (parentUrl: string) => string; export declare const RunnerCredentialRequestSchema: z.ZodObject<{ agent: z.ZodOptional; account: z.ZodOptional; model: z.ZodOptional; }, z.core.$strip>; export type RunnerCredentialRequest = z.infer; export declare const RunnerCredentialSchema: z.ZodUnion; kind: z.ZodLiteral<"oauth">; accessToken: z.ZodString; account: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; kind: z.ZodLiteral<"parent-translator">; model: z.ZodString; trial: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; kind: z.ZodLiteral<"endpoint">; baseUrl: z.ZodString; authToken: z.ZodString; model: z.ZodString; trial: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ ok: z.ZodLiteral; code: z.ZodOptional>; message: z.ZodString; }, z.core.$strip>]>; export type RunnerCredential = z.infer; export declare const RunnerCredentialRefreshRequestSchema: z.ZodObject<{ account: z.ZodString; rejected: z.ZodString; }, z.core.$strip>; export type RunnerCredentialRefreshRequest = z.infer; export declare const RunnerCredentialRefreshSchema: z.ZodObject<{ accessToken: z.ZodOptional; }, z.core.$strip>; export type RunnerCredentialRefresh = z.infer; export declare const RunnerFactsSchema: z.ZodObject<{ cpus: z.ZodNumber; memoryMb: z.ZodNumber; freeDiskMb: z.ZodNumber; load: z.ZodNumber; memoryFreeMb: z.ZodOptional; memoryLimitMb: z.ZodOptional; cpuPressure: z.ZodOptional; memoryStall: z.ZodOptional; }, z.core.$strip>; export type RunnerFacts = z.infer; export declare const RunnerParitySchema: z.ZodEnum<{ current: "current"; outdated: "outdated"; unknown: "unknown"; }>; export type RunnerParity = z.infer; export declare const RunnerSummarySchema: z.ZodObject<{ id: z.ZodString; host: z.ZodOptional; 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>; export type RunnerSummary = z.infer; export declare const RunnersListSchema: 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>; export type RunnersList = z.infer; export declare const RunnerDefinitionAppliedSchema: z.ZodObject<{ settings: z.ZodArray; }, z.core.$strip>; export type RunnerDefinitionApplied = z.infer; export declare const RunnerSyncSchema: z.ZodObject<{ op: z.ZodEnum<{ pull: "pull"; push: "push"; }>; conversationId: z.ZodString; branch: z.ZodString; repos: z.ZodArray>; }, z.core.$strip>; export type RunnerSync = z.infer; export declare const RunnerSyncLineSchema: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"done">; ok: z.ZodBoolean; detail: z.ZodOptional; }, z.core.$strip>]>; export type RunnerSyncLine = z.infer; export declare const RunnerTurnSchema: z.ZodObject<{ conversationId: z.ZodString; branch: z.ZodString; prompt: z.ZodString; provider: z.ZodString; harness: z.ZodString; model: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; account: z.ZodOptional; sessionId: z.ZodOptional; attachments: z.ZodOptional>>; }, z.core.$strip>; export type RunnerTurn = z.infer; export declare const OFFLOAD_REF_PREFIX = "refs/intentic-offload/"; export declare const offloadRef: (runId: string) => string; export declare const RunnerCommandSchema: z.ZodObject<{ runId: z.ZodString; repo: z.ZodString; ref: z.ZodString; cwd: z.ZodString; command: z.ZodString; env: z.ZodDefault>; exports: z.ZodDefault>; label: z.ZodString; timeoutMs: z.ZodOptional; }, z.core.$strip>; export type RunnerCommand = z.infer; export declare const RunnerCommandFrameSchema: z.ZodUnion; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"output">; stream: z.ZodEnum<{ stderr: "stderr"; stdout: "stdout"; }>; text: z.ZodString; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"exit">; code: z.ZodNumber; signal: z.ZodOptional; failure: z.ZodOptional; ran: z.ZodDefault; patchBase64: z.ZodOptional; files: z.ZodDefault>; }, z.core.$strip>]>; export type RunnerCommandFrame = z.infer; export declare const AgentPlacementSchema: z.ZodUnion; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"runner">; id: z.ZodString; }, z.core.$strip>]>; export type AgentPlacement = z.infer; //# sourceMappingURL=runner-protocol.d.ts.map