import { z } from 'zod'; export declare const StudioAgentModeSchema: z.ZodEnum<{ chat: "chat"; work: "work"; }>; /** @deprecated Use StudioAgentModeSchema. */ export declare const AgentModeSchema: z.ZodEnum<{ chat: "chat"; work: "work"; }>; export declare const AgentConfigurationCapabilitySchema: z.ZodEnum<{ tools: "tools"; models: "models"; skills: "skills"; mcp: "mcp"; reasoning: "reasoning"; }>; export declare const AgentModeCapabilitiesSchema: z.ZodObject<{ models: z.ZodBoolean; skills: z.ZodBoolean; tools: z.ZodBoolean; mcp: z.ZodBoolean; reasoning: z.ZodBoolean; }, z.core.$strict>; export declare const AgentResourceModeSupportSchema: z.ZodObject<{ modes: z.ZodArray>; }, z.core.$strict>; export declare const AGENT_MODE_CAPABILITIES: Readonly<{ chat: { models: boolean; skills: boolean; tools: boolean; mcp: boolean; reasoning: boolean; }; work: { models: boolean; skills: boolean; tools: boolean; mcp: boolean; reasoning: boolean; }; }>; export declare function getAgentModeCapabilities(mode: AgentMode): AgentModeCapabilities; export declare function agentModeHasCapability(mode: AgentMode, capability: AgentConfigurationCapability): boolean; export declare function isAgentResourceModeCompatible(support: AgentResourceModeSupport | undefined, mode: AgentMode): boolean; export declare const AgentSessionCapabilitySchema: z.ZodEnum<{ tools: "tools"; text: "text"; skills: "skills"; mcp: "mcp"; reasoning: "reasoning"; plan: "plan"; tasks: "tasks"; shell: "shell"; fileChange: "fileChange"; approval: "approval"; artifacts: "artifacts"; usage: "usage"; resume: "resume"; diff: "diff"; workspaceFiles: "workspaceFiles"; terminal: "terminal"; testResults: "testResults"; threadForking: "threadForking"; editAndRerun: "editAndRerun"; steering: "steering"; summary: "summary"; }>; export declare const AgentSessionCapabilitiesSchema: z.ZodObject<{ text: z.ZodDefault; reasoning: z.ZodDefault; plan: z.ZodDefault; tasks: z.ZodDefault; tools: z.ZodDefault; mcp: z.ZodDefault; shell: z.ZodDefault; fileChange: z.ZodDefault; skills: z.ZodDefault; approval: z.ZodDefault; artifacts: z.ZodDefault; usage: z.ZodDefault; resume: z.ZodDefault; diff: z.ZodDefault; workspaceFiles: z.ZodDefault; terminal: z.ZodDefault; testResults: z.ZodDefault; threadForking: z.ZodDefault; editAndRerun: z.ZodDefault; steering: z.ZodDefault; summary: z.ZodDefault; }, z.core.$strict>; /** * Session-level execution safety profile. This is a product contract; runtime * adapters map it to their own approval and sandbox settings. */ export declare const AgentSessionPermissionProfileSchema: z.ZodEnum<{ "approval-required": "approval-required"; "auto-approve": "auto-approve"; "full-access": "full-access"; }>; export declare const AGENT_SESSION_RUNTIME_CAPABILITIES: Readonly<{ chat: { text: boolean; reasoning: boolean; plan: boolean; tasks: boolean; tools: boolean; mcp: boolean; shell: boolean; fileChange: boolean; skills: boolean; approval: boolean; artifacts: boolean; usage: boolean; resume: boolean; diff: boolean; workspaceFiles: boolean; terminal: boolean; testResults: boolean; threadForking: boolean; editAndRerun: boolean; steering: boolean; summary: boolean; }; work: { text: boolean; reasoning: boolean; plan: boolean; tasks: boolean; tools: boolean; mcp: boolean; shell: boolean; fileChange: boolean; skills: boolean; approval: boolean; artifacts: boolean; usage: boolean; resume: boolean; diff: boolean; workspaceFiles: boolean; terminal: boolean; testResults: boolean; threadForking: boolean; editAndRerun: boolean; steering: boolean; summary: boolean; }; }>; export declare function getAgentSessionRuntimeCapabilities(mode: AgentMode): AgentSessionCapabilities; export declare const AGENT_SESSION_CAPABILITY_EVIDENCE: Readonly<{ readonly text: { readonly eventTypes: readonly ["message"]; readonly commandTypes: readonly []; }; readonly reasoning: { readonly eventTypes: readonly ["reasoning"]; readonly commandTypes: readonly []; }; readonly plan: { readonly eventTypes: readonly ["plan"]; readonly commandTypes: readonly []; }; readonly tasks: { readonly eventTypes: readonly ["task"]; readonly commandTypes: readonly []; }; readonly tools: { readonly eventTypes: readonly ["tool"]; readonly commandTypes: readonly []; }; readonly mcp: { readonly eventTypes: readonly ["tool"]; readonly commandTypes: readonly []; }; readonly shell: { readonly eventTypes: readonly ["tool", "terminal"]; readonly commandTypes: readonly []; }; readonly fileChange: { readonly eventTypes: readonly ["tool", "diff", "workspace-file"]; readonly commandTypes: readonly []; }; readonly skills: { readonly eventTypes: readonly ["tool"]; readonly commandTypes: readonly []; }; readonly approval: { readonly eventTypes: readonly ["approval"]; readonly commandTypes: readonly ["approval"]; }; readonly artifacts: { readonly eventTypes: readonly ["artifact"]; readonly commandTypes: readonly []; }; readonly usage: { readonly eventTypes: readonly ["usage"]; readonly commandTypes: readonly []; }; readonly resume: { readonly eventTypes: readonly ["resume"]; readonly commandTypes: readonly ["resume"]; }; readonly diff: { readonly eventTypes: readonly ["diff"]; readonly commandTypes: readonly []; }; readonly workspaceFiles: { readonly eventTypes: readonly ["workspace-file"]; readonly commandTypes: readonly []; }; readonly terminal: { readonly eventTypes: readonly ["terminal"]; readonly commandTypes: readonly []; }; readonly testResults: { readonly eventTypes: readonly ["test-result"]; readonly commandTypes: readonly []; }; readonly threadForking: { readonly eventTypes: readonly []; readonly commandTypes: readonly ["fork"]; }; readonly editAndRerun: { readonly eventTypes: readonly []; readonly commandTypes: readonly ["edit-and-rerun"]; }; readonly steering: { readonly eventTypes: readonly ["steer"]; readonly commandTypes: readonly ["steer"]; }; readonly summary: { readonly eventTypes: readonly ["summary"]; readonly commandTypes: readonly ["retry-summary"]; }; }>; export declare function findUnsupportedAgentSessionCapabilities(capabilities: AgentSessionCapabilities, evidence: { eventTypes?: readonly string[]; commandTypes?: readonly string[]; }): AgentSessionCapability[]; export declare const AgentSessionSnapshotSchema: z.ZodObject<{ mode: z.ZodEnum<{ chat: "chat"; work: "work"; }>; modelId: z.ZodString; capabilities: z.ZodObject<{ text: z.ZodDefault; reasoning: z.ZodDefault; plan: z.ZodDefault; tasks: z.ZodDefault; tools: z.ZodDefault; mcp: z.ZodDefault; shell: z.ZodDefault; fileChange: z.ZodDefault; skills: z.ZodDefault; approval: z.ZodDefault; artifacts: z.ZodDefault; usage: z.ZodDefault; resume: z.ZodDefault; diff: z.ZodDefault; workspaceFiles: z.ZodDefault; terminal: z.ZodDefault; testResults: z.ZodDefault; threadForking: z.ZodDefault; editAndRerun: z.ZodDefault; steering: z.ZodDefault; summary: z.ZodDefault; }, z.core.$strict>; permissionProfile: z.ZodOptional>; }, z.core.$strict>; export declare const AgentSessionStatusSchema: z.ZodEnum<{ queued: "queued"; running: "running"; waiting_approval: "waiting_approval"; stopping: "stopping"; stopped: "stopped"; completed: "completed"; failed: "failed"; }>; export declare const AgentSessionTerminalStatusSchema: z.ZodEnum<{ stopped: "stopped"; completed: "completed"; failed: "failed"; }>; export declare const AgentSessionLineageSchema: z.ZodObject<{ forkedFromThreadId: z.ZodString; forkedFromMessageId: z.ZodString; sourceRunId: z.ZodString; }, z.core.$strict>; export declare const AgentSessionContextInheritanceSchema: z.ZodObject<{ messages: z.ZodEnum<{ "through-source-message": "through-source-message"; exclude: "exclude"; }>; attachments: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; summaries: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; toolResults: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; codeChanges: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; }, z.core.$strict>; export declare const AgentSessionInheritedContextMessageSchema: z.ZodObject<{ messageId: z.ZodString; role: z.ZodEnum<{ user: "user"; assistant: "assistant"; }>; parts: z.ZodArray>>; }, z.core.$strict>; export declare const AgentSessionUnavailableResourceSchema: z.ZodObject<{ messageId: z.ZodString; kind: z.ZodEnum<{ attachment: "attachment"; "tool-result": "tool-result"; "code-change": "code-change"; }>; reason: z.ZodEnum<{ excluded: "excluded"; unavailable: "unavailable"; unsupported: "unsupported"; }>; }, z.core.$strict>; export declare const AgentSessionInheritedContextSchema: z.ZodObject<{ sourceThreadId: z.ZodString; sourceMessageId: z.ZodString; sourceRunId: z.ZodString; messages: z.ZodArray; parts: z.ZodArray>>; }, z.core.$strict>>; summary: z.ZodOptional; unavailableResources: z.ZodDefault; reason: z.ZodEnum<{ excluded: "excluded"; unavailable: "unavailable"; unsupported: "unsupported"; }>; }, z.core.$strict>>>; capturedAt: z.ZodString; }, z.core.$strict>; export declare const AgentSessionContinuationRequestSchema: z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionContinuationRequest">; idempotencyKey: z.ZodString; sourceMessageId: z.ZodString; sourceRunId: z.ZodString; inheritance: z.ZodObject<{ messages: z.ZodEnum<{ "through-source-message": "through-source-message"; exclude: "exclude"; }>; attachments: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; summaries: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; toolResults: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; codeChanges: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; }, z.core.$strict>; }, z.core.$strict>; export declare const AgentSessionContinuationResultSchema: z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionContinuationResult">; idempotencyKey: z.ZodString; threadId: z.ZodString; lineage: z.ZodObject<{ forkedFromThreadId: z.ZodString; forkedFromMessageId: z.ZodString; sourceRunId: z.ZodString; }, z.core.$strict>; inheritance: z.ZodObject<{ messages: z.ZodEnum<{ "through-source-message": "through-source-message"; exclude: "exclude"; }>; attachments: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; summaries: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; toolResults: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; codeChanges: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; }, z.core.$strict>; unavailableResources: z.ZodDefault; reason: z.ZodEnum<{ excluded: "excluded"; unavailable: "unavailable"; unsupported: "unsupported"; }>; }, z.core.$strict>>>; duplicate: z.ZodBoolean; createdAt: z.ZodString; }, z.core.$strict>; export declare const AgentSessionActiveBranchSchema: z.ZodObject<{ branchId: z.ZodString; threadId: z.ZodString; sourceMessageId: z.ZodString; runId: z.ZodString; lineage: z.ZodOptional>; createdAt: z.ZodString; }, z.core.$strict>; export declare const AgentSessionRunSchema: z.ZodObject<{ runId: z.ZodString; sessionId: z.ZodString; sourceMessageId: z.ZodString; status: z.ZodEnum<{ queued: "queued"; running: "running"; waiting_approval: "waiting_approval"; stopping: "stopping"; stopped: "stopped"; completed: "completed"; failed: "failed"; }>; startedAt: z.ZodString; stoppingRequestedAt: z.ZodOptional; stoppedAt: z.ZodOptional; completedAt: z.ZodOptional; failedAt: z.ZodOptional; durationMs: z.ZodOptional; }, z.core.$strict>; export declare const AgentSessionCommandTypeSchema: z.ZodEnum<{ approval: "approval"; resume: "resume"; fork: "fork"; "edit-and-rerun": "edit-and-rerun"; steer: "steer"; "retry-summary": "retry-summary"; stop: "stop"; retry: "retry"; }>; export declare const AgentSessionCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"stop">; payload: z.ZodObject<{ reason: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"resume">; payload: z.ZodObject<{ resumeEventId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"retry">; payload: z.ZodObject<{ sourceEventId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"retry-summary">; payload: z.ZodObject<{ sourceEventId: z.ZodString; sourceRunId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"approval">; payload: z.ZodObject<{ approvalId: z.ZodString; decision: z.ZodEnum<{ approved: "approved"; rejected: "rejected"; }>; reason: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"fork">; payload: z.ZodObject<{ sourceThreadId: z.ZodString; sourceMessageId: z.ZodString; sourceRunId: z.ZodString; inheritance: z.ZodObject<{ messages: z.ZodEnum<{ "through-source-message": "through-source-message"; exclude: "exclude"; }>; attachments: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; summaries: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; toolResults: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; codeChanges: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"edit-and-rerun">; payload: z.ZodObject<{ sourceThreadId: z.ZodString; sourceMessageId: z.ZodString; sourceRunId: z.ZodString; replacementParts: z.ZodArray>>; inheritance: z.ZodObject<{ messages: z.ZodEnum<{ "through-source-message": "through-source-message"; exclude: "exclude"; }>; attachments: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; summaries: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; toolResults: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; codeChanges: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"steer">; payload: z.ZodObject<{ targetRunId: z.ZodString; text: z.ZodString; }, z.core.$strict>; }, z.core.$strict>], "commandType">; export declare const AgentSessionTargetedCommandSchema: z.ZodIntersection; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"stop">; payload: z.ZodObject<{ reason: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"resume">; payload: z.ZodObject<{ resumeEventId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"retry">; payload: z.ZodObject<{ sourceEventId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"retry-summary">; payload: z.ZodObject<{ sourceEventId: z.ZodString; sourceRunId: z.ZodString; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"approval">; payload: z.ZodObject<{ approvalId: z.ZodString; decision: z.ZodEnum<{ approved: "approved"; rejected: "rejected"; }>; reason: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"fork">; payload: z.ZodObject<{ sourceThreadId: z.ZodString; sourceMessageId: z.ZodString; sourceRunId: z.ZodString; inheritance: z.ZodObject<{ messages: z.ZodEnum<{ "through-source-message": "through-source-message"; exclude: "exclude"; }>; attachments: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; summaries: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; toolResults: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; codeChanges: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"edit-and-rerun">; payload: z.ZodObject<{ sourceThreadId: z.ZodString; sourceMessageId: z.ZodString; sourceRunId: z.ZodString; replacementParts: z.ZodArray>>; inheritance: z.ZodObject<{ messages: z.ZodEnum<{ "through-source-message": "through-source-message"; exclude: "exclude"; }>; attachments: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; summaries: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; toolResults: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; codeChanges: z.ZodEnum<{ exclude: "exclude"; inherit: "inherit"; }>; }, z.core.$strict>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommand">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; expectedSequence: z.ZodNumber; issuedAt: z.ZodString; commandType: z.ZodLiteral<"steer">; payload: z.ZodObject<{ targetRunId: z.ZodString; text: z.ZodString; }, z.core.$strict>; }, z.core.$strict>], "commandType">, z.ZodObject<{ runId: z.ZodString; }, z.core.$strip>>; export declare const AgentSessionCommandErrorCodeSchema: z.ZodEnum<{ SESSION_NOT_FOUND: "SESSION_NOT_FOUND"; RUN_NOT_FOUND: "RUN_NOT_FOUND"; ACTIVE_RUN_NOT_FOUND: "ACTIVE_RUN_NOT_FOUND"; RUN_ALREADY_FINISHED: "RUN_ALREADY_FINISHED"; STOP_TIMEOUT: "STOP_TIMEOUT"; COMMAND_NOT_SUPPORTED: "COMMAND_NOT_SUPPORTED"; CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE"; SEQUENCE_CONFLICT: "SEQUENCE_CONFLICT"; INVALID_SESSION_STATE: "INVALID_SESSION_STATE"; TARGET_EVENT_NOT_FOUND: "TARGET_EVENT_NOT_FOUND"; TARGET_EVENT_NOT_RETRYABLE: "TARGET_EVENT_NOT_RETRYABLE"; APPROVAL_NOT_FOUND: "APPROVAL_NOT_FOUND"; APPROVAL_ALREADY_RESOLVED: "APPROVAL_ALREADY_RESOLVED"; SOURCE_THREAD_NOT_FOUND: "SOURCE_THREAD_NOT_FOUND"; SOURCE_MESSAGE_NOT_FOUND: "SOURCE_MESSAGE_NOT_FOUND"; SOURCE_RUN_NOT_FOUND: "SOURCE_RUN_NOT_FOUND"; SOURCE_LINEAGE_INVALID: "SOURCE_LINEAGE_INVALID"; ACTIVE_BRANCH_NOT_FOUND: "ACTIVE_BRANCH_NOT_FOUND"; COMMAND_EXECUTION_FAILED: "COMMAND_EXECUTION_FAILED"; }>; export declare const AgentSessionCommandResultSchema: z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionCommandResult">; commandId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; idempotencyKey: z.ZodString; outcome: z.ZodEnum<{ failed: "failed"; duplicate: "duplicate"; rejected: "rejected"; accepted: "accepted"; }>; sessionStatus: z.ZodEnum<{ queued: "queued"; running: "running"; waiting_approval: "waiting_approval"; stopping: "stopping"; stopped: "stopped"; completed: "completed"; failed: "failed"; }>; acceptedSequence: z.ZodOptional; resultEventIds: z.ZodDefault>; operation: z.ZodOptional; activeBranch: z.ZodObject<{ branchId: z.ZodString; threadId: z.ZodString; sourceMessageId: z.ZodString; runId: z.ZodString; lineage: z.ZodOptional>; createdAt: z.ZodString; }, z.core.$strict>; }, z.core.$strict>>; termination: z.ZodOptional>; error: z.ZodOptional; message: z.ZodString; retryable: z.ZodBoolean; }, z.core.$strict>>; occurredAt: z.ZodString; }, z.core.$strict>; export declare const AgentSessionCommandPolicySchema: z.ZodObject<{ capability: z.ZodOptional>; allowedStatuses: z.ZodArray>; requiresRunId: z.ZodBoolean; sourceSessionEffect: z.ZodEnum<{ transition: "transition"; preserve: "preserve"; }>; idempotencyScope: z.ZodLiteral<"session-command">; sequenceRule: z.ZodEnum<{ "match-current": "match-current"; "target-run": "target-run"; }>; }, z.core.$strict>; export declare const AGENT_SESSION_COMMAND_POLICIES: Readonly<{ stop: { allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[]; requiresRunId: boolean; sourceSessionEffect: "transition" | "preserve"; idempotencyScope: "session-command"; sequenceRule: "match-current" | "target-run"; capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined; }; resume: { allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[]; requiresRunId: boolean; sourceSessionEffect: "transition" | "preserve"; idempotencyScope: "session-command"; sequenceRule: "match-current" | "target-run"; capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined; }; retry: { allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[]; requiresRunId: boolean; sourceSessionEffect: "transition" | "preserve"; idempotencyScope: "session-command"; sequenceRule: "match-current" | "target-run"; capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined; }; 'retry-summary': { allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[]; requiresRunId: boolean; sourceSessionEffect: "transition" | "preserve"; idempotencyScope: "session-command"; sequenceRule: "match-current" | "target-run"; capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined; }; approval: { allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[]; requiresRunId: boolean; sourceSessionEffect: "transition" | "preserve"; idempotencyScope: "session-command"; sequenceRule: "match-current" | "target-run"; capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined; }; fork: { allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[]; requiresRunId: boolean; sourceSessionEffect: "transition" | "preserve"; idempotencyScope: "session-command"; sequenceRule: "match-current" | "target-run"; capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined; }; 'edit-and-rerun': { allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[]; requiresRunId: boolean; sourceSessionEffect: "transition" | "preserve"; idempotencyScope: "session-command"; sequenceRule: "match-current" | "target-run"; capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined; }; steer: { allowedStatuses: ("queued" | "running" | "waiting_approval" | "stopping" | "stopped" | "completed" | "failed")[]; requiresRunId: boolean; sourceSessionEffect: "transition" | "preserve"; idempotencyScope: "session-command"; sequenceRule: "match-current" | "target-run"; capability?: "tools" | "text" | "skills" | "mcp" | "reasoning" | "plan" | "tasks" | "shell" | "fileChange" | "approval" | "artifacts" | "usage" | "resume" | "diff" | "workspaceFiles" | "terminal" | "testResults" | "threadForking" | "editAndRerun" | "steering" | "summary" | undefined; }; }>; export declare function getAgentSessionCommandPolicy(commandType: AgentSessionCommandType): AgentSessionCommandPolicy; export declare function canIssueAgentSessionCommand(status: AgentSessionStatus, commandType: AgentSessionCommandType): boolean; export declare function resolveAgentSessionCommandTransition(status: AgentSessionStatus, commandType: AgentSessionCommandType): AgentSessionStatus | undefined; export declare function isAgentSessionTerminalStatus(status: AgentSessionStatus): status is AgentSessionTerminalStatus; export declare function canApplyAgentSessionRunStatus(current: AgentSessionStatus, next: AgentSessionStatus): boolean; export declare const AgentSessionEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"message">; payload: z.ZodObject<{ messageId: z.ZodString; role: z.ZodEnum<{ user: "user"; assistant: "assistant"; system: "system"; }>; operation: z.ZodDefault>; parts: z.ZodArray>>; status: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"reasoning">; payload: z.ZodObject<{ reasoningId: z.ZodString; text: z.ZodString; status: z.ZodEnum<{ completed: "completed"; streaming: "streaming"; }>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"plan">; payload: z.ZodObject<{ planId: z.ZodString; title: z.ZodOptional; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; pending: "pending"; }>; steps: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"task">; payload: z.ZodObject<{ taskId: z.ZodString; title: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; pending: "pending"; skipped: "skipped"; }>; detail: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"tool">; payload: z.ZodObject<{ toolCallId: z.ZodString; toolName: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; pending: "pending"; denied: "denied"; }>; input: z.ZodOptional>>; output: z.ZodOptional>>; error: z.ZodOptional; startedAt: z.ZodOptional; completedAt: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"approval">; payload: z.ZodObject<{ approvalId: z.ZodString; toolCallId: z.ZodOptional; status: z.ZodEnum<{ approved: "approved"; rejected: "rejected"; requested: "requested"; expired: "expired"; }>; title: z.ZodString; description: z.ZodOptional; requestedAction: z.ZodOptional>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"status">; payload: z.ZodObject<{ status: z.ZodEnum<{ queued: "queued"; running: "running"; waiting_approval: "waiting_approval"; stopping: "stopping"; stopped: "stopped"; completed: "completed"; failed: "failed"; }>; detail: z.ZodOptional; startedAt: z.ZodOptional; stoppingRequestedAt: z.ZodOptional; stoppedAt: z.ZodOptional; completedAt: z.ZodOptional; failedAt: z.ZodOptional; durationMs: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"artifact">; payload: z.ZodObject<{ artifactId: z.ZodString; name: z.ZodString; kind: z.ZodEnum<{ file: "file"; image: "image"; video: "video"; audio: "audio"; web: "web"; other: "other"; }>; status: z.ZodEnum<{ failed: "failed"; pending: "pending"; ready: "ready"; }>; mimeType: z.ZodOptional; url: z.ZodOptional; size: z.ZodOptional; sourceEventId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"usage">; payload: z.ZodObject<{ inputTokens: z.ZodOptional; outputTokens: z.ZodOptional; totalTokens: z.ZodOptional; contextTokens: z.ZodOptional; contextWindow: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"resume">; payload: z.ZodObject<{ resumable: z.ZodBoolean; state: z.ZodOptional>>>; reason: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"error">; payload: z.ZodObject<{ code: z.ZodString; message: z.ZodString; retryable: z.ZodBoolean; sourceEventId: z.ZodOptional; details: z.ZodOptional>>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"diff">; payload: z.ZodObject<{ path: z.ZodString; status: z.ZodEnum<{ added: "added"; modified: "modified"; deleted: "deleted"; renamed: "renamed"; }>; patch: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"workspace-file">; payload: z.ZodObject<{ path: z.ZodString; operation: z.ZodEnum<{ upsert: "upsert"; delete: "delete"; }>; mimeType: z.ZodOptional; size: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"terminal">; payload: z.ZodObject<{ terminalId: z.ZodString; stream: z.ZodEnum<{ status: "status"; stdin: "stdin"; stdout: "stdout"; stderr: "stderr"; }>; chunk: z.ZodString; exitCode: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"test-result">; payload: z.ZodObject<{ testId: z.ZodString; name: z.ZodString; status: z.ZodEnum<{ running: "running"; failed: "failed"; skipped: "skipped"; passed: "passed"; }>; durationMs: z.ZodOptional; output: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"steer">; payload: z.ZodObject<{ commandId: z.ZodString; targetRunId: z.ZodString; text: z.ZodString; status: z.ZodEnum<{ failed: "failed"; accepted: "accepted"; applied: "applied"; }>; error: z.ZodOptional; message: z.ZodString; retryable: z.ZodBoolean; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"summary">; payload: z.ZodObject<{ summaryId: z.ZodString; runId: z.ZodString; text: z.ZodString; highlights: z.ZodArray; pendingItems: z.ZodArray; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; generating: "generating"; }>; }, z.core.$strict>; }, z.core.$strict>], "eventType">; export declare const AgentSessionRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"message">; payload: z.ZodObject<{ messageId: z.ZodString; role: z.ZodEnum<{ user: "user"; assistant: "assistant"; system: "system"; }>; operation: z.ZodDefault>; parts: z.ZodArray>>; status: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"reasoning">; payload: z.ZodObject<{ reasoningId: z.ZodString; text: z.ZodString; status: z.ZodEnum<{ completed: "completed"; streaming: "streaming"; }>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"plan">; payload: z.ZodObject<{ planId: z.ZodString; title: z.ZodOptional; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; pending: "pending"; }>; steps: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"task">; payload: z.ZodObject<{ taskId: z.ZodString; title: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; pending: "pending"; skipped: "skipped"; }>; detail: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"tool">; payload: z.ZodObject<{ toolCallId: z.ZodString; toolName: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; pending: "pending"; denied: "denied"; }>; input: z.ZodOptional>>; output: z.ZodOptional>>; error: z.ZodOptional; startedAt: z.ZodOptional; completedAt: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"approval">; payload: z.ZodObject<{ approvalId: z.ZodString; toolCallId: z.ZodOptional; status: z.ZodEnum<{ approved: "approved"; rejected: "rejected"; requested: "requested"; expired: "expired"; }>; title: z.ZodString; description: z.ZodOptional; requestedAction: z.ZodOptional>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"status">; payload: z.ZodObject<{ status: z.ZodEnum<{ queued: "queued"; running: "running"; waiting_approval: "waiting_approval"; stopping: "stopping"; stopped: "stopped"; completed: "completed"; failed: "failed"; }>; detail: z.ZodOptional; startedAt: z.ZodOptional; stoppingRequestedAt: z.ZodOptional; stoppedAt: z.ZodOptional; completedAt: z.ZodOptional; failedAt: z.ZodOptional; durationMs: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"artifact">; payload: z.ZodObject<{ artifactId: z.ZodString; name: z.ZodString; kind: z.ZodEnum<{ file: "file"; image: "image"; video: "video"; audio: "audio"; web: "web"; other: "other"; }>; status: z.ZodEnum<{ failed: "failed"; pending: "pending"; ready: "ready"; }>; mimeType: z.ZodOptional; url: z.ZodOptional; size: z.ZodOptional; sourceEventId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"usage">; payload: z.ZodObject<{ inputTokens: z.ZodOptional; outputTokens: z.ZodOptional; totalTokens: z.ZodOptional; contextTokens: z.ZodOptional; contextWindow: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"resume">; payload: z.ZodObject<{ resumable: z.ZodBoolean; state: z.ZodOptional>>>; reason: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"error">; payload: z.ZodObject<{ code: z.ZodString; message: z.ZodString; retryable: z.ZodBoolean; sourceEventId: z.ZodOptional; details: z.ZodOptional>>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"diff">; payload: z.ZodObject<{ path: z.ZodString; status: z.ZodEnum<{ added: "added"; modified: "modified"; deleted: "deleted"; renamed: "renamed"; }>; patch: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"workspace-file">; payload: z.ZodObject<{ path: z.ZodString; operation: z.ZodEnum<{ upsert: "upsert"; delete: "delete"; }>; mimeType: z.ZodOptional; size: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"terminal">; payload: z.ZodObject<{ terminalId: z.ZodString; stream: z.ZodEnum<{ status: "status"; stdin: "stdin"; stdout: "stdout"; stderr: "stderr"; }>; chunk: z.ZodString; exitCode: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"test-result">; payload: z.ZodObject<{ testId: z.ZodString; name: z.ZodString; status: z.ZodEnum<{ running: "running"; failed: "failed"; skipped: "skipped"; passed: "passed"; }>; durationMs: z.ZodOptional; output: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"steer">; payload: z.ZodObject<{ commandId: z.ZodString; targetRunId: z.ZodString; text: z.ZodString; status: z.ZodEnum<{ failed: "failed"; accepted: "accepted"; applied: "applied"; }>; error: z.ZodOptional; message: z.ZodString; retryable: z.ZodBoolean; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"summary">; payload: z.ZodObject<{ summaryId: z.ZodString; runId: z.ZodString; text: z.ZodString; highlights: z.ZodArray; pendingItems: z.ZodArray; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; generating: "generating"; }>; }, z.core.$strict>; }, z.core.$strict>], "eventType">; export declare const AgentSessionViewModelSchema: z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionViewModel">; sessionId: z.ZodString; snapshot: z.ZodObject<{ mode: z.ZodEnum<{ chat: "chat"; work: "work"; }>; modelId: z.ZodString; capabilities: z.ZodObject<{ text: z.ZodDefault; reasoning: z.ZodDefault; plan: z.ZodDefault; tasks: z.ZodDefault; tools: z.ZodDefault; mcp: z.ZodDefault; shell: z.ZodDefault; fileChange: z.ZodDefault; skills: z.ZodDefault; approval: z.ZodDefault; artifacts: z.ZodDefault; usage: z.ZodDefault; resume: z.ZodDefault; diff: z.ZodDefault; workspaceFiles: z.ZodDefault; terminal: z.ZodDefault; testResults: z.ZodDefault; threadForking: z.ZodDefault; editAndRerun: z.ZodDefault; steering: z.ZodDefault; summary: z.ZodDefault; }, z.core.$strict>; permissionProfile: z.ZodOptional>; }, z.core.$strict>; status: z.ZodEnum<{ queued: "queued"; running: "running"; waiting_approval: "waiting_approval"; stopping: "stopping"; stopped: "stopped"; completed: "completed"; failed: "failed"; }>; events: z.ZodArray; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"message">; payload: z.ZodObject<{ messageId: z.ZodString; role: z.ZodEnum<{ user: "user"; assistant: "assistant"; system: "system"; }>; operation: z.ZodDefault>; parts: z.ZodArray>>; status: z.ZodOptional>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"reasoning">; payload: z.ZodObject<{ reasoningId: z.ZodString; text: z.ZodString; status: z.ZodEnum<{ completed: "completed"; streaming: "streaming"; }>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"plan">; payload: z.ZodObject<{ planId: z.ZodString; title: z.ZodOptional; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; pending: "pending"; }>; steps: z.ZodArray; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"task">; payload: z.ZodObject<{ taskId: z.ZodString; title: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; pending: "pending"; skipped: "skipped"; }>; detail: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"tool">; payload: z.ZodObject<{ toolCallId: z.ZodString; toolName: z.ZodString; status: z.ZodEnum<{ running: "running"; completed: "completed"; failed: "failed"; pending: "pending"; denied: "denied"; }>; input: z.ZodOptional>>; output: z.ZodOptional>>; error: z.ZodOptional; startedAt: z.ZodOptional; completedAt: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"approval">; payload: z.ZodObject<{ approvalId: z.ZodString; toolCallId: z.ZodOptional; status: z.ZodEnum<{ approved: "approved"; rejected: "rejected"; requested: "requested"; expired: "expired"; }>; title: z.ZodString; description: z.ZodOptional; requestedAction: z.ZodOptional>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"status">; payload: z.ZodObject<{ status: z.ZodEnum<{ queued: "queued"; running: "running"; waiting_approval: "waiting_approval"; stopping: "stopping"; stopped: "stopped"; completed: "completed"; failed: "failed"; }>; detail: z.ZodOptional; startedAt: z.ZodOptional; stoppingRequestedAt: z.ZodOptional; stoppedAt: z.ZodOptional; completedAt: z.ZodOptional; failedAt: z.ZodOptional; durationMs: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"artifact">; payload: z.ZodObject<{ artifactId: z.ZodString; name: z.ZodString; kind: z.ZodEnum<{ file: "file"; image: "image"; video: "video"; audio: "audio"; web: "web"; other: "other"; }>; status: z.ZodEnum<{ failed: "failed"; pending: "pending"; ready: "ready"; }>; mimeType: z.ZodOptional; url: z.ZodOptional; size: z.ZodOptional; sourceEventId: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"usage">; payload: z.ZodObject<{ inputTokens: z.ZodOptional; outputTokens: z.ZodOptional; totalTokens: z.ZodOptional; contextTokens: z.ZodOptional; contextWindow: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"resume">; payload: z.ZodObject<{ resumable: z.ZodBoolean; state: z.ZodOptional>>>; reason: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"error">; payload: z.ZodObject<{ code: z.ZodString; message: z.ZodString; retryable: z.ZodBoolean; sourceEventId: z.ZodOptional; details: z.ZodOptional>>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"diff">; payload: z.ZodObject<{ path: z.ZodString; status: z.ZodEnum<{ added: "added"; modified: "modified"; deleted: "deleted"; renamed: "renamed"; }>; patch: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"workspace-file">; payload: z.ZodObject<{ path: z.ZodString; operation: z.ZodEnum<{ upsert: "upsert"; delete: "delete"; }>; mimeType: z.ZodOptional; size: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"terminal">; payload: z.ZodObject<{ terminalId: z.ZodString; stream: z.ZodEnum<{ status: "status"; stdin: "stdin"; stdout: "stdout"; stderr: "stderr"; }>; chunk: z.ZodString; exitCode: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"test-result">; payload: z.ZodObject<{ testId: z.ZodString; name: z.ZodString; status: z.ZodEnum<{ running: "running"; failed: "failed"; skipped: "skipped"; passed: "passed"; }>; durationMs: z.ZodOptional; output: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"steer">; payload: z.ZodObject<{ commandId: z.ZodString; targetRunId: z.ZodString; text: z.ZodString; status: z.ZodEnum<{ failed: "failed"; accepted: "accepted"; applied: "applied"; }>; error: z.ZodOptional; message: z.ZodString; retryable: z.ZodBoolean; }, z.core.$strict>>; }, z.core.$strict>; }, z.core.$strict>, z.ZodObject<{ contract: z.ZodLiteral<"AgentSessionEvent">; eventId: z.ZodString; sessionId: z.ZodString; runId: z.ZodOptional; sourceMessageId: z.ZodOptional; sequence: z.ZodNumber; idempotencyKey: z.ZodString; occurredAt: z.ZodString; eventType: z.ZodLiteral<"summary">; payload: z.ZodObject<{ summaryId: z.ZodString; runId: z.ZodString; text: z.ZodString; highlights: z.ZodArray; pendingItems: z.ZodArray; status: z.ZodEnum<{ completed: "completed"; failed: "failed"; generating: "generating"; }>; }, z.core.$strict>; }, z.core.$strict>], "eventType">>; lastSequence: z.ZodNumber; resumable: z.ZodDefault; lineage: z.ZodOptional>; activeBranch: z.ZodOptional>; createdAt: z.ZodString; }, z.core.$strict>>; }, z.core.$strict>; export declare const AgentWorkbenchNavigationItemStatusSchema: z.ZodEnum<{ error: "error"; running: "running"; completed: "completed"; idle: "idle"; }>; export declare const AgentWorkbenchCollectionStatusSchema: z.ZodEnum<{ error: "error"; ready: "ready"; loading: "loading"; }>; export declare const AgentWorkbenchAgentItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; iconUrl: z.ZodOptional; builtIn: z.ZodDefault; pinned: z.ZodDefault; pinPending: z.ZodDefault; }, z.core.$strict>; export declare const AgentWorkbenchSessionItemSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; updatedAt: z.ZodString; thumbnailUrl: z.ZodOptional; mode: z.ZodOptional>; status: z.ZodDefault>; pinned: z.ZodDefault; contextUsage: z.ZodOptional>; }, z.core.$strict>; export declare const AgentWorkbenchNavigationCapabilitiesSchema: z.ZodObject<{ createAgent: z.ZodDefault; createSession: z.ZodDefault; manageCapabilities: z.ZodDefault; manageAgentSettings: z.ZodDefault; pinAgents: z.ZodDefault; pinSessions: z.ZodDefault; renameSessions: z.ZodDefault; deleteSessions: z.ZodDefault; }, z.core.$strict>; export declare const AgentWorkbenchNavigationViewModelSchema: z.ZodObject<{ contract: z.ZodLiteral<"AgentWorkbenchNavigationViewModel">; activeTab: z.ZodDefault>; searchQuery: z.ZodDefault; selectedAgentItem: z.ZodOptional; selectedSessionItem: z.ZodOptional; agents: z.ZodObject<{ status: z.ZodEnum<{ error: "error"; ready: "ready"; loading: "loading"; }>; items: z.ZodArray; iconUrl: z.ZodOptional; builtIn: z.ZodDefault; pinned: z.ZodDefault; pinPending: z.ZodDefault; }, z.core.$strict>>; error: z.ZodOptional; }, z.core.$strict>; sessions: z.ZodObject<{ status: z.ZodEnum<{ error: "error"; ready: "ready"; loading: "loading"; }>; items: z.ZodArray; mode: z.ZodOptional>; status: z.ZodDefault>; pinned: z.ZodDefault; contextUsage: z.ZodOptional>; }, z.core.$strict>>; error: z.ZodOptional; }, z.core.$strict>; capabilities: z.ZodObject<{ createAgent: z.ZodDefault; createSession: z.ZodDefault; manageCapabilities: z.ZodDefault; manageAgentSettings: z.ZodDefault; pinAgents: z.ZodDefault; pinSessions: z.ZodDefault; renameSessions: z.ZodDefault; deleteSessions: z.ZodDefault; }, z.core.$strict>; }, z.core.$strict>; export declare const AgentWorkbenchComposerStatusSchema: z.ZodEnum<{ error: "error"; stopping: "stopping"; streaming: "streaming"; idle: "idle"; loading: "loading"; }>; export declare const AgentWorkbenchComposerAttachmentSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; mediaType: z.ZodOptional; previewUrl: z.ZodOptional; status: z.ZodDefault>; }, z.core.$strict>; export declare const AgentWorkbenchComposerQueueItemSchema: z.ZodObject<{ id: z.ZodString; text: z.ZodString; attachmentCount: z.ZodDefault; status: z.ZodDefault>; }, z.core.$strict>; export declare const AgentWorkbenchComposerInputActionIconSchema: z.ZodEnum<{ image: "image"; "file-text": "file-text"; }>; export declare const AgentWorkbenchComposerInputActionSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; icon: z.ZodOptional>; }, z.core.$strict>; export declare const AgentWorkbenchComposerModelOptionSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; provider: z.ZodOptional; mode: z.ZodEnum<{ chat: "chat"; work: "work"; }>; disabled: z.ZodDefault; }, z.core.$strict>; export declare const AgentWorkbenchComposerCapabilitiesSchema: z.ZodObject<{ attachments: z.ZodDefault; voiceInput: z.ZodDefault; webSearch: z.ZodDefault; modelSelection: z.ZodDefault; reasoning: z.ZodDefault; permissions: z.ZodDefault; queue: z.ZodDefault; stop: z.ZodDefault; }, z.core.$strict>; export declare const AgentWorkbenchQuickStartIconSchema: z.ZodEnum<{ code: "code"; search: "search"; "file-text": "file-text"; sparkles: "sparkles"; palette: "palette"; "shopping-bag": "shopping-bag"; }>; export declare const AgentWorkbenchQuickStartTemplateActionSchema: z.ZodEnum<{ prompt: "prompt"; upload: "upload"; }>; export declare const AgentWorkbenchQuickStartTemplateSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodOptional; prompt: z.ZodString; action: z.ZodDefault>; icon: z.ZodOptional>; coverImageUrl: z.ZodOptional; accept: z.ZodDefault; multiple: z.ZodDefault; modes: z.ZodOptional>>; }, z.core.$strict>; export declare const AgentWorkbenchQuickStartSectionSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; templates: z.ZodArray; prompt: z.ZodString; action: z.ZodDefault>; icon: z.ZodOptional>; coverImageUrl: z.ZodOptional; accept: z.ZodDefault; multiple: z.ZodDefault; modes: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>; export declare const AgentWorkbenchQuickStartCategorySchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; icon: z.ZodOptional>; sections: z.ZodArray; prompt: z.ZodString; action: z.ZodDefault>; icon: z.ZodOptional>; coverImageUrl: z.ZodOptional; accept: z.ZodDefault; multiple: z.ZodDefault; modes: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>; export declare const AgentWorkbenchSidebarNavigationModeSchema: z.ZodEnum<{ default: "default"; session: "session"; trend: "trend"; }>; export declare const AgentWorkbenchSidebarSectionSchema: z.ZodEnum<{ search: "search"; agents: "agents"; sessions: "sessions"; header: "header"; "new-session": "new-session"; groups: "groups"; footer: "footer"; }>; export declare const AgentWorkbenchSidebarGroupItemSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; subtitle: z.ZodOptional; imageUrl: z.ZodOptional; prompt: z.ZodOptional; mediaVariant: z.ZodOptional>; mediaTreatment: z.ZodOptional>; }, z.core.$strict>; export declare const AgentWorkbenchSidebarGroupSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; items: z.ZodArray; imageUrl: z.ZodOptional; prompt: z.ZodOptional; mediaVariant: z.ZodOptional>; mediaTreatment: z.ZodOptional>; }, z.core.$strict>>; itemAspectRatio: z.ZodOptional; }, z.core.$strict>; export declare const AgentWorkbenchSidebarConfigSchema: z.ZodObject<{ navigationMode: z.ZodOptional>; defaultOpen: z.ZodOptional; widthPercent: z.ZodOptional; visibleSections: z.ZodOptional>>; groups: z.ZodOptional; imageUrl: z.ZodOptional; prompt: z.ZodOptional; mediaVariant: z.ZodOptional>; mediaTreatment: z.ZodOptional>; }, z.core.$strict>>; itemAspectRatio: z.ZodOptional; }, z.core.$strict>>>; defaultGroupId: z.ZodOptional; quickStartEnabled: z.ZodOptional; quickStartCategories: z.ZodOptional>; sections: z.ZodArray; prompt: z.ZodString; action: z.ZodDefault>; icon: z.ZodOptional>; coverImageUrl: z.ZodOptional; accept: z.ZodDefault; multiple: z.ZodDefault; modes: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>>; trendEntryEnabled: z.ZodOptional; }, z.core.$strict>; export declare const DEFAULT_AGENT_WORKBENCH_SIDEBAR_SECTIONS: readonly ["header", "search", "new-session", "sessions", "agents", "groups", "footer"]; export interface AgentWorkbenchSidebarLegacyConfig { navigationMode?: AgentWorkbenchSidebarNavigationMode; quickStartEnabled?: boolean; } export declare function resolveAgentWorkbenchSidebarConfig(config?: AgentWorkbenchSidebarConfig, legacy?: AgentWorkbenchSidebarLegacyConfig): ResolvedAgentWorkbenchSidebarConfig; export declare const AgentWorkbenchQuickStartViewModelSchema: z.ZodObject<{ contract: z.ZodLiteral<"AgentWorkbenchQuickStartViewModel">; mode: z.ZodEnum<{ chat: "chat"; work: "work"; }>; categories: z.ZodArray>; sections: z.ZodArray; prompt: z.ZodString; action: z.ZodDefault>; icon: z.ZodOptional>; coverImageUrl: z.ZodOptional; accept: z.ZodDefault; multiple: z.ZodDefault; modes: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; disabled: z.ZodDefault; }, z.core.$strict>; export declare const AgentWorkbenchComposerViewModelSchema: z.ZodObject<{ contract: z.ZodLiteral<"AgentWorkbenchComposerViewModel">; value: z.ZodDefault; status: z.ZodDefault>; mode: z.ZodEnum<{ chat: "chat"; work: "work"; }>; placeholder: z.ZodOptional; attachments: z.ZodDefault; previewUrl: z.ZodOptional; status: z.ZodDefault>; }, z.core.$strict>>>; queuedDrafts: z.ZodDefault; status: z.ZodDefault>; }, z.core.$strict>>>; inputActions: z.ZodDefault>; }, z.core.$strict>>>; selectedInputActionId: z.ZodOptional; model: z.ZodObject<{ selectedId: z.ZodOptional; options: z.ZodArray; mode: z.ZodEnum<{ chat: "chat"; work: "work"; }>; disabled: z.ZodDefault; }, z.core.$strict>>; }, z.core.$strict>; reasoning: z.ZodOptional; options: z.ZodArray>; }, z.core.$strict>>; permissionProfile: z.ZodOptional>; webSearchEnabled: z.ZodDefault; error: z.ZodOptional; capabilities: z.ZodObject<{ attachments: z.ZodDefault; voiceInput: z.ZodDefault; webSearch: z.ZodDefault; modelSelection: z.ZodDefault; reasoning: z.ZodDefault; permissions: z.ZodDefault; queue: z.ZodDefault; stop: z.ZodDefault; }, z.core.$strict>; }, z.core.$strict>; export type StudioAgentMode = z.infer; /** @deprecated Use StudioAgentMode. */ export type AgentMode = StudioAgentMode; export type AgentConfigurationCapability = z.infer; export type AgentModeCapabilities = z.infer; export type AgentResourceModeSupport = z.infer; export type AgentSessionCapability = z.infer; export type AgentSessionCapabilities = z.infer; export type AgentSessionPermissionProfile = z.infer; export type AgentSessionSnapshot = z.infer; export type AgentSessionStatus = z.infer; export type AgentSessionTerminalStatus = z.infer; export type AgentSessionLineage = z.infer; export type AgentSessionContextInheritance = z.infer; export type AgentSessionInheritedContextMessage = z.infer; export type AgentSessionUnavailableResource = z.infer; export type AgentSessionInheritedContext = z.infer; export type AgentSessionContinuationRequest = z.infer; export type AgentSessionContinuationResult = z.infer; export type AgentSessionActiveBranch = z.infer; export type AgentSessionRun = z.infer; export type AgentSessionCommandType = z.infer; export type AgentSessionCommand = z.infer; export type AgentSessionTargetedCommand = z.infer; export type AgentSessionCommandErrorCode = z.infer; export type AgentSessionCommandResult = z.infer; export type AgentSessionCommandPolicy = z.infer; export type AgentSessionEvent = z.infer; export type AgentSessionRunEvent = z.infer; export type AgentSessionViewModel = z.infer; export type AgentWorkbenchNavigationItemStatus = z.infer; export type AgentWorkbenchCollectionStatus = z.infer; export type AgentWorkbenchAgentItem = z.infer; export type AgentWorkbenchSessionItem = z.infer; export type AgentWorkbenchNavigationCapabilities = z.infer; export type AgentWorkbenchNavigationViewModel = z.infer; export type AgentWorkbenchComposerStatus = z.infer; export type AgentWorkbenchComposerAttachment = z.infer; export type AgentWorkbenchComposerQueueItem = z.infer; export type AgentWorkbenchComposerModelOption = z.infer; export type AgentWorkbenchComposerCapabilities = z.infer; export type AgentWorkbenchComposerInputAction = z.infer; export type AgentWorkbenchComposerViewModel = z.infer; export type AgentWorkbenchQuickStartIcon = z.infer; export type AgentWorkbenchQuickStartTemplateAction = z.infer; export type AgentWorkbenchQuickStartTemplate = z.infer; export type AgentWorkbenchQuickStartSection = z.infer; export type AgentWorkbenchQuickStartCategory = z.infer; export type AgentWorkbenchQuickStartViewModel = z.infer; export type AgentWorkbenchSidebarNavigationMode = z.infer; export type AgentWorkbenchSidebarSection = z.infer; export type AgentWorkbenchSidebarGroupItem = z.infer; export type AgentWorkbenchSidebarGroup = z.infer; export type AgentWorkbenchSidebarConfig = z.infer; export type ResolvedAgentWorkbenchSidebarConfig = AgentWorkbenchSidebarConfig & { navigationMode: AgentWorkbenchSidebarNavigationMode; defaultOpen: boolean; widthPercent: number; visibleSections: AgentWorkbenchSidebarSection[]; groups: AgentWorkbenchSidebarGroup[]; quickStartEnabled: boolean; trendEntryEnabled: boolean; }; export declare const AgentExecutionModeSchema: z.ZodEnum<{ chat: "chat"; work: "work"; }>; export type AgentExecutionMode = AgentMode; export declare function normalizeStudioAgentMode(value: unknown): StudioAgentMode | undefined; /** @deprecated Use normalizeStudioAgentMode. */ export declare const normalizeAgentMode: typeof normalizeStudioAgentMode; export declare const normalizeAgentExecutionMode: typeof normalizeStudioAgentMode; //# sourceMappingURL=agent.d.ts.map