import { z } from "zod"; export declare const MESSAGE_KINDS: readonly ["message", "shutdown_request", "shutdown_approved", "shutdown_rejected", "announcement"]; export declare const MEMBER_KINDS: readonly ["category", "subagent_type"]; export declare const TASK_STATUSES: readonly ["pending", "claimed", "in_progress", "completed", "deleted"]; export declare const RUNTIME_STATUSES: readonly ["creating", "active", "shutdown_requested", "deleting", "deleted", "failed", "orphaned"]; export declare const CategoryMemberSchema: z.ZodObject<{ name: z.ZodString; cwd: z.ZodOptional; worktreePath: z.ZodOptional; subscriptions: z.ZodOptional>; backendType: z.ZodDefault>; color: z.ZodOptional; isActive: z.ZodDefault; kind: z.ZodLiteral<"category">; category: z.ZodString; prompt: z.ZodString; }, z.core.$strict>; export declare const SubagentMemberSchema: z.ZodObject<{ name: z.ZodString; cwd: z.ZodOptional; worktreePath: z.ZodOptional; subscriptions: z.ZodOptional>; backendType: z.ZodDefault>; color: z.ZodOptional; isActive: z.ZodDefault; kind: z.ZodLiteral<"subagent_type">; subagent_type: z.ZodString; prompt: z.ZodOptional; }, z.core.$strict>; export declare const MemberSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ name: z.ZodString; cwd: z.ZodOptional; worktreePath: z.ZodOptional; subscriptions: z.ZodOptional>; backendType: z.ZodDefault>; color: z.ZodOptional; isActive: z.ZodDefault; kind: z.ZodLiteral<"category">; category: z.ZodString; prompt: z.ZodString; }, z.core.$strict>, z.ZodObject<{ name: z.ZodString; cwd: z.ZodOptional; worktreePath: z.ZodOptional; subscriptions: z.ZodOptional>; backendType: z.ZodDefault>; color: z.ZodOptional; isActive: z.ZodDefault; kind: z.ZodLiteral<"subagent_type">; subagent_type: z.ZodString; prompt: z.ZodOptional; }, z.core.$strict>], "kind">; export declare const TeamSpecSchema: z.ZodPipe>; name: z.ZodString; description: z.ZodOptional; createdAt: z.ZodDefault; leadAgentId: z.ZodOptional; teamAllowedPaths: z.ZodOptional>; sessionPermission: z.ZodOptional; members: z.ZodArray; worktreePath: z.ZodOptional; subscriptions: z.ZodOptional>; backendType: z.ZodDefault>; color: z.ZodOptional; isActive: z.ZodDefault; kind: z.ZodLiteral<"category">; category: z.ZodString; prompt: z.ZodString; }, z.core.$strict>, z.ZodObject<{ name: z.ZodString; cwd: z.ZodOptional; worktreePath: z.ZodOptional; subscriptions: z.ZodOptional>; backendType: z.ZodDefault>; color: z.ZodOptional; isActive: z.ZodDefault; kind: z.ZodLiteral<"subagent_type">; subagent_type: z.ZodString; prompt: z.ZodOptional; }, z.core.$strict>], "kind">>; }, z.core.$strip>, z.ZodTransform<{ version: 1; name: string; createdAt: number; members: ({ name: string; backendType: "tmux" | "in-process"; isActive: boolean; kind: "category"; category: string; prompt: string; cwd?: string | undefined; worktreePath?: string | undefined; subscriptions?: string[] | undefined; color?: string | undefined; } | { name: string; backendType: "tmux" | "in-process"; isActive: boolean; kind: "subagent_type"; subagent_type: string; cwd?: string | undefined; worktreePath?: string | undefined; subscriptions?: string[] | undefined; color?: string | undefined; prompt?: string | undefined; })[]; description?: string | undefined; leadAgentId?: string | undefined; teamAllowedPaths?: string[] | undefined; sessionPermission?: string | undefined; }, { version: 1; name: string; createdAt: number; members: ({ name: string; backendType: "tmux" | "in-process"; isActive: boolean; kind: "category"; category: string; prompt: string; cwd?: string | undefined; worktreePath?: string | undefined; subscriptions?: string[] | undefined; color?: string | undefined; } | { name: string; backendType: "tmux" | "in-process"; isActive: boolean; kind: "subagent_type"; subagent_type: string; cwd?: string | undefined; worktreePath?: string | undefined; subscriptions?: string[] | undefined; color?: string | undefined; prompt?: string | undefined; })[]; description?: string | undefined; leadAgentId?: string | undefined; teamAllowedPaths?: string[] | undefined; sessionPermission?: string | undefined; }>>; export declare const MessageSchema: z.ZodObject<{ version: z.ZodLiteral<1>; messageId: z.ZodString; from: z.ZodString; to: z.ZodString; kind: z.ZodEnum<{ message: "message"; shutdown_request: "shutdown_request"; shutdown_approved: "shutdown_approved"; shutdown_rejected: "shutdown_rejected"; announcement: "announcement"; }>; body: z.ZodString; summary: z.ZodOptional; references: z.ZodOptional; }, z.core.$strict>>>; timestamp: z.ZodNumber; correlationId: z.ZodOptional; color: z.ZodOptional; }, z.core.$strip>; export declare const TaskSchema: z.ZodObject<{ version: z.ZodLiteral<1>; id: z.ZodString; subject: z.ZodString; description: z.ZodString; activeForm: z.ZodOptional; status: z.ZodEnum<{ pending: "pending"; in_progress: "in_progress"; completed: "completed"; deleted: "deleted"; claimed: "claimed"; }>; owner: z.ZodOptional; blocks: z.ZodDefault>; blockedBy: z.ZodDefault>; metadata: z.ZodOptional>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; claimedAt: z.ZodOptional; }, z.core.$strip>; declare const RuntimeStateMemberSchema: z.ZodObject<{ name: z.ZodString; sessionId: z.ZodOptional; tmuxPaneId: z.ZodOptional; tmuxGridPaneId: z.ZodOptional; agentType: z.ZodEnum<{ leader: "leader"; "general-purpose": "general-purpose"; }>; subagent_type: z.ZodOptional; category: z.ZodOptional; model: z.ZodOptional; reasoningEffort: z.ZodOptional; temperature: z.ZodOptional; top_p: z.ZodOptional; maxTokens: z.ZodOptional; thinking: z.ZodOptional; budgetTokens: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strict>>; status: z.ZodEnum<{ pending: "pending"; completed: "completed"; running: "running"; idle: "idle"; shutdown_approved: "shutdown_approved"; errored: "errored"; }>; color: z.ZodOptional; worktreePath: z.ZodOptional; lastInjectedTurnMarker: z.ZodOptional; pendingInjectedMessageIds: z.ZodDefault>; }, z.core.$strict>; export declare const RuntimeStateSchema: z.ZodObject<{ version: z.ZodLiteral<1>; teamRunId: z.ZodString; teamName: z.ZodString; specSource: z.ZodEnum<{ user: "user"; project: "project"; }>; createdAt: z.ZodNumber; status: z.ZodEnum<{ active: "active"; failed: "failed"; deleted: "deleted"; creating: "creating"; shutdown_requested: "shutdown_requested"; deleting: "deleting"; orphaned: "orphaned"; }>; leadSessionId: z.ZodOptional; tmuxLayout: z.ZodOptional; gridWindowId: z.ZodOptional; }, z.core.$strict>>; members: z.ZodArray; tmuxPaneId: z.ZodOptional; tmuxGridPaneId: z.ZodOptional; agentType: z.ZodEnum<{ leader: "leader"; "general-purpose": "general-purpose"; }>; subagent_type: z.ZodOptional; category: z.ZodOptional; model: z.ZodOptional; reasoningEffort: z.ZodOptional; temperature: z.ZodOptional; top_p: z.ZodOptional; maxTokens: z.ZodOptional; thinking: z.ZodOptional; budgetTokens: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strict>>; status: z.ZodEnum<{ pending: "pending"; completed: "completed"; running: "running"; idle: "idle"; shutdown_approved: "shutdown_approved"; errored: "errored"; }>; color: z.ZodOptional; worktreePath: z.ZodOptional; lastInjectedTurnMarker: z.ZodOptional; pendingInjectedMessageIds: z.ZodDefault>; }, z.core.$strict>>; shutdownRequests: z.ZodDefault; rejectedReason: z.ZodOptional; rejectedAt: z.ZodOptional; }, z.core.$strict>>>; bounds: z.ZodObject<{ maxMembers: z.ZodDefault; maxParallelMembers: z.ZodDefault; maxMessagesPerRun: z.ZodDefault; maxWallClockMinutes: z.ZodDefault; maxMemberTurns: z.ZodDefault; }, z.core.$strict>; }, z.core.$strip>; export declare const AGENT_ELIGIBILITY_REGISTRY: Readonly>; export declare function parseMember(input: unknown): Member; export type TeamSpec = z.infer; export type Member = z.infer; export type CategoryMember = z.infer; export type SubagentMember = z.infer; export type Message = z.infer; export type Task = z.infer; export type RuntimeStateMember = z.infer; export type RuntimeState = z.infer; export {};