import { z } from "zod"; export declare const AgentProviderSchema: z.ZodString; export type AgentProvider = z.infer; export declare const NativeProviderParamSchema: z.ZodObject<{ provider: z.ZodEnum<{ claude: "claude"; codex: "codex"; cursor: "cursor"; devin: "devin"; gemini: "gemini"; grok: "grok"; kimi: "kimi"; meta: "meta"; zai: "zai"; }>; }, z.core.$strip>; export declare const AgentHarnessSchema: z.ZodEnum<{ "claude-code": "claude-code"; codex: "codex"; muse: "muse"; native: "native"; opencode: "opencode"; pi: "pi"; vendor: "vendor"; }>; export type AgentHarness = z.infer; export type AgentLoop = Exclude; export declare const RepoBaseSchema: z.ZodObject<{ repo: z.ZodString; base: z.ZodString; }, z.core.$strip>; export type RepoBase = z.infer; export declare const EditorContextSchema: z.ZodObject<{ file: z.ZodString; startLine: z.ZodOptional; endLine: z.ZodOptional; selection: z.ZodOptional; }, z.core.$strip>; export type EditorContext = z.infer; export declare const ConversationIdSchema: z.ZodString; export declare const AgentOriginSchema: z.ZodObject<{ automationId: z.ZodString; provider: z.ZodString; channelId: z.ZodOptional; threadId: z.ZodOptional; author: z.ZodOptional; }, z.core.$strip>; export type AgentOrigin = z.infer; export declare const PermissionModeSchema: z.ZodEnum<{ bypassPermissions: "bypassPermissions"; default: "default"; plan: "plan"; }>; export type PermissionMode = z.infer; export * from "./conversation-links.js"; export declare const ATTACHMENT_LIMIT = 20; export declare const ForkOfSchema: z.ZodObject<{ conversationId: z.ZodString; keep: z.ZodNumber; files: z.ZodEnum<{ now: "now"; then: "then"; }>; }, z.core.$strip>; export declare const AgentTurnSchema: z.ZodObject<{ prompt: z.ZodString; errand: z.ZodOptional>; messageId: z.ZodOptional; title: z.ZodOptional; attachments: z.ZodOptional>; mentions: z.ZodOptional>; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; actsAs: z.ZodOptional; sessionId: z.ZodOptional; conversationId: z.ZodOptional; isolated: z.ZodOptional; startIn: z.ZodOptional; placement: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"runner">; id: z.ZodString; }, z.core.$strip>]>>; worktreeBase: z.ZodOptional>>; autoLand: z.ZodOptional; runRole: z.ZodOptional>; origin: z.ZodOptional; threadId: z.ZodOptional; author: z.ZodOptional; }, z.core.$strip>>; forkOf: z.ZodOptional; }, z.core.$strip>>; freshOf: z.ZodOptional; }, z.core.$strip>>; model: z.ZodOptional; unattended: z.ZodOptional; outsideWake: z.ZodOptional; permissionMode: z.ZodOptional>; allowedTools: z.ZodOptional>; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; autoPicked: z.ZodOptional; editorContext: z.ZodOptional; endLine: z.ZodOptional; selection: z.ZodOptional; }, z.core.$strip>>; sendAt: z.ZodOptional; sendAtReopen: z.ZodOptional>; sendAfter: z.ZodOptional; conversationAutoLand: z.ZodOptional; }, z.core.$strip>; export type AgentTurn = z.infer; export declare const AgentRunSchema: z.ZodObject<{ prompt: z.ZodString; errand: z.ZodOptional>; messageId: z.ZodOptional; title: z.ZodOptional; attachments: z.ZodOptional>; mentions: z.ZodOptional>; agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; actsAs: z.ZodOptional; sessionId: z.ZodOptional; conversationId: z.ZodOptional; isolated: z.ZodOptional; startIn: z.ZodOptional; placement: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"runner">; id: z.ZodString; }, z.core.$strip>]>>; worktreeBase: z.ZodOptional>>; autoLand: z.ZodOptional; runRole: z.ZodOptional>; origin: z.ZodOptional; threadId: z.ZodOptional; author: z.ZodOptional; }, z.core.$strip>>; forkOf: z.ZodOptional; }, z.core.$strip>>; freshOf: z.ZodOptional; }, z.core.$strip>>; model: z.ZodOptional; unattended: z.ZodOptional; outsideWake: z.ZodOptional; permissionMode: z.ZodOptional>; allowedTools: z.ZodOptional>; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; autoPicked: z.ZodOptional; editorContext: z.ZodOptional; endLine: z.ZodOptional; selection: z.ZodOptional; }, z.core.$strip>>; sendAt: z.ZodOptional; sendAtReopen: z.ZodOptional>; sendAfter: z.ZodOptional; conversationAutoLand: z.ZodOptional; draft: z.ZodOptional; continues: z.ZodOptional>; }, z.core.$strip>; export type RoutedAgentTurn = AgentTurn & { readonly agent: AgentProvider; readonly harness: AgentHarness; }; export declare const DEFAULT_PROVIDER: AgentProvider; export declare const DEFAULT_HARNESS: AgentHarness; export declare const withRuntimeDefaults: (turn: T) => T & { readonly agent: AgentProvider; readonly harness: AgentHarness; }; export declare const TurnProfileSchema: z.ZodObject<{ agent: z.ZodOptional; harness: z.ZodOptional>; account: z.ZodOptional; actsAs: z.ZodOptional; isolated: z.ZodOptional; runRole: z.ZodOptional>; model: z.ZodOptional; unattended: z.ZodOptional; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; }, z.core.$strip>; export type TurnProfile = z.infer; export declare const profileOf: (turn: TurnProfile) => TurnProfile; export declare const AgentRunPickSchema: z.ZodOptional; harness: z.ZodOptional>; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; }, z.core.$strip>>; export type AgentRunPick = z.infer; export declare const runPickOf: (choice: { readonly provider: string; readonly model: string; readonly account?: string | undefined; readonly harness?: string | undefined; readonly effort?: string | undefined; readonly thinking?: boolean | undefined; readonly fast?: boolean | undefined; }) => NonNullable; export declare const ModelPinSchema: z.ZodObject<{ provider: z.ZodString; model: z.ZodString; effort: z.ZodOptional; thinking: z.ZodOptional; fast: z.ZodOptional; harness: z.ZodOptional>; }, z.core.$strip>; export type ModelPin = z.infer; export declare const StartedTurnSchema: z.ZodObject<{ run: z.ZodString; }, z.core.$strip>; export type StartedTurn = z.infer; export declare const MessageReceiptSchema: z.ZodObject<{ delivered: z.ZodEnum<{ queued: "queued"; started: "started"; steered: "steered"; }>; run: z.ZodOptional; duplicate: z.ZodOptional>; }, z.core.$strip>; export type MessageReceipt = z.infer; export declare const MessageVoiceSchema: z.ZodEnum<{ agent: "agent"; person: "person"; sandbox: "sandbox"; }>; export type MessageVoice = z.infer; export declare const QueuedReopenSchema: z.ZodObject<{ agent: z.ZodString; account: z.ZodOptional; }, z.core.$strip>; export type QueuedReopen = z.infer; export declare const QueuedServingSchema: z.ZodObject<{ agent: z.ZodString; harness: z.ZodEnum<{ "claude-code": "claude-code"; codex: "codex"; muse: "muse"; native: "native"; opencode: "opencode"; pi: "pi"; vendor: "vendor"; }>; model: z.ZodOptional; effort: z.ZodOptional; account: z.ZodOptional; }, z.core.$strip>; export type QueuedServing = z.infer; export declare const QueuedMessageSchema: z.ZodObject<{ id: z.ZodString; text: z.ZodString; attachments: z.ZodOptional>; voice: z.ZodEnum<{ agent: "agent"; person: "person"; sandbox: "sandbox"; }>; queuedAt: z.ZodNumber; revision: z.ZodNumber; until: z.ZodOptional; after: z.ZodOptional; reopenOf: z.ZodOptional; }, z.core.$strip>>; serves: z.ZodOptional; model: z.ZodOptional; effort: z.ZodOptional; account: z.ZodOptional; }, z.core.$strip>>; continues: z.ZodOptional>; }, z.core.$strip>; export type QueuedMessage = z.infer; export declare const QueuePauseSchema: z.ZodEnum<{ refused: "refused"; scheduled: "scheduled"; stopped: "stopped"; }>; export type QueuePause = z.infer; export declare const ConversationQueueSchema: z.ZodObject<{ items: z.ZodArray>; voice: z.ZodEnum<{ agent: "agent"; person: "person"; sandbox: "sandbox"; }>; queuedAt: z.ZodNumber; revision: z.ZodNumber; until: z.ZodOptional; after: z.ZodOptional; reopenOf: z.ZodOptional; }, z.core.$strip>>; serves: z.ZodOptional; model: z.ZodOptional; effort: z.ZodOptional; account: z.ZodOptional; }, z.core.$strip>>; continues: z.ZodOptional>; }, z.core.$strip>>; revision: z.ZodNumber; paused: z.ZodOptional>; until: z.ZodOptional; after: z.ZodOptional; }, z.core.$strip>; export type ConversationQueue = z.infer; export declare const QueueTakenBackSchema: z.ZodObject<{ items: z.ZodArray>; voice: z.ZodEnum<{ agent: "agent"; person: "person"; sandbox: "sandbox"; }>; queuedAt: z.ZodNumber; revision: z.ZodNumber; until: z.ZodOptional; after: z.ZodOptional; reopenOf: z.ZodOptional; }, z.core.$strip>>; serves: z.ZodOptional; model: z.ZodOptional; effort: z.ZodOptional; account: z.ZodOptional; }, z.core.$strip>>; continues: z.ZodOptional>; }, z.core.$strip>>; revision: z.ZodNumber; paused: z.ZodOptional>; until: z.ZodOptional; after: z.ZodOptional; unopened: z.ZodOptional; }, z.core.$strip>; export type QueueTakenBack = z.infer; export declare const QueueResumedSchema: z.ZodObject<{ run: z.ZodOptional; queue: z.ZodOptional>; voice: z.ZodEnum<{ agent: "agent"; person: "person"; sandbox: "sandbox"; }>; queuedAt: z.ZodNumber; revision: z.ZodNumber; until: z.ZodOptional; after: z.ZodOptional; reopenOf: z.ZodOptional; }, z.core.$strip>>; serves: z.ZodOptional; model: z.ZodOptional; effort: z.ZodOptional; account: z.ZodOptional; }, z.core.$strip>>; continues: z.ZodOptional>; }, z.core.$strip>>; revision: z.ZodNumber; paused: z.ZodOptional>; until: z.ZodOptional; after: z.ZodOptional; }, z.core.$strip>>; reason: z.ZodOptional; }, z.core.$strip>; export type QueueResumed = z.infer; //# sourceMappingURL=agent.d.ts.map