import { o as DocumentTranslationConfigUpdate } from "./document-translation-CBqubtWC.mjs"; import { p as NotificationSettings } from "./notifications-D0M-01SA.mjs"; import { z } from "zod"; //#region src/config.d.ts declare const CODE_EDITOR_THEME_VALUES: readonly ["github", "material", "vscode", "tokyo", "gruvbox", "monokai", "nord"]; declare const OPSX_AGENT_INVOCATION_MODE_VALUES: readonly ["compose", "command"]; declare const TerminalRendererEngineSchema: z.ZodEnum<["xterm", "ghostty"]>; type TerminalRendererEngine = z.infer; declare const TerminalThemeModeSchema: z.ZodEnum<["app", "light", "dark", "system"]>; type TerminalThemeMode = z.infer; declare const TerminalThemeSchema: z.ZodEnum<["default-light", "default-dark", "monokai", "nord", "solarized-light", "solarized-dark"]>; type TerminalThemeId = z.infer; declare const OpsxAgentInvocationModeSchema: z.ZodEnum<["compose", "command"]>; type OpsxAgentInvocationMode = z.infer; declare const CodeEditorThemeSchema: z.ZodEnum<["github", "material", "vscode", "tokyo", "gruvbox", "monokai", "nord"]>; type CodeEditorTheme = z.infer; declare function isTerminalRendererEngine(value: string): value is TerminalRendererEngine; type RunnerId = 'configured' | 'openspec' | 'npx' | 'bunx' | 'deno' | 'pnpm' | 'yarn'; interface CliRunnerCandidate { id: RunnerId; source: string; commandParts: readonly string[]; } interface CliRunnerAttempt { source: string; command: string; success: boolean; version?: string; error?: string; exitCode: number | null; } interface ResolvedCliRunner { source: string; command: string; commandParts: readonly string[]; version?: string; attempts: readonly CliRunnerAttempt[]; } /** * 解析 CLI 命令字符串为数组 * * 支持两种格式: * 1. JSON 数组:以 `[` 开头,如 `["npx", "@fission-ai/openspec"]` * 2. shell-like 字符串:支持引号与基础转义 */ declare function parseCliCommand(command: string): string[]; declare function buildCliRunnerCandidates(options: { configuredCommandParts?: readonly string[]; userAgent?: string | null; }): readonly CliRunnerCandidate[]; declare function createCleanCliEnv(baseEnv?: NodeJS.ProcessEnv): NodeJS.ProcessEnv; /** CLI 嗅探结果 */ interface CliSniffResult { /** 是否存在全局 openspec 命令 */ hasGlobal: boolean; /** 全局命令的版本(仅当 hasGlobal 为 true 时有值) */ version?: string; /** npm registry 上的最新版本 */ latestVersion?: string; /** 是否有可用更新 */ hasUpdate?: boolean; /** 错误信息(如果检测失败) */ error?: string; } /** * 嗅探全局 openspec 命令(无缓存) * * 使用 `openspec --version` 检测是否有全局命令可用。 * 同时检查 npm registry 上的最新版本。 * 每次调用都会重新检测,不使用缓存。 */ declare function sniffGlobalCli(): Promise; /** * 获取默认 CLI 命令(异步,带检测) * * @returns CLI 命令数组,如 `['openspec']` 或 `['npx', '@fission-ai/openspec']` */ declare function getDefaultCliCommand(): Promise; /** * 获取默认 CLI 命令的字符串形式(用于 UI 显示) */ declare function getDefaultCliCommandString(): Promise; declare const TerminalConfigSchema: z.ZodObject<{ fontSize: z.ZodDefault; fontFamily: z.ZodDefault; cursorBlink: z.ZodDefault; cursorStyle: z.ZodDefault>; scrollback: z.ZodDefault; useTheme: z.ZodDefault>; lightTheme: z.ZodDefault>; darkTheme: z.ZodDefault>; rendererEngine: z.ZodDefault>; bellSound: z.ZodDefault, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>; bellVolume: z.ZodDefault; }, "strip", z.ZodTypeAny, { fontSize: number; fontFamily: string; cursorBlink: boolean; cursorStyle: "block" | "underline" | "bar"; scrollback: number; useTheme: "app" | "light" | "dark" | "system"; lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark"; darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark"; rendererEngine: "xterm" | "ghostty"; bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`; bellVolume: number; }, { fontSize?: number | undefined; fontFamily?: string | undefined; cursorBlink?: boolean | undefined; cursorStyle?: "block" | "underline" | "bar" | undefined; scrollback?: number | undefined; useTheme?: "app" | "light" | "dark" | "system" | undefined; lightTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined; darkTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined; rendererEngine?: "xterm" | "ghostty" | undefined; bellSound?: unknown; bellVolume?: number | undefined; }>; type TerminalConfig = z.infer; declare const DashboardConfigSchema: z.ZodObject<{ trendPointLimit: z.ZodDefault; }, "strip", z.ZodTypeAny, { trendPointLimit: number; }, { trendPointLimit?: number | undefined; }>; type DashboardConfig = z.infer; declare const DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET = 1000; declare const GitConfigSchema: z.ZodObject<{ diffEagerLineBudget: z.ZodDefault; }, "strip", z.ZodTypeAny, { diffEagerLineBudget: number; }, { diffEagerLineBudget?: number | undefined; }>; type GitConfig = z.infer; declare const OpsxConfigSchema: z.ZodObject<{ agentInvocationMode: z.ZodDefault>; }, "strip", z.ZodTypeAny, { agentInvocationMode: "command" | "compose"; }, { agentInvocationMode?: "command" | "compose" | undefined; }>; type OpsxConfig = z.infer; /** * OpenSpecUI 配置 Schema * * 存储在 openspec/.openspecui.json 中,利用文件监听实现响应式更新 */ declare const OpenSpecUIConfigSchema: z.ZodObject<{ /** CLI 命令配置 */ cli: z.ZodDefault; /** CLI 命令参数 */ args: z.ZodOptional>; }, "strip", z.ZodTypeAny, { command?: string | undefined; args?: string[] | undefined; }, { command?: string | undefined; args?: string[] | undefined; }>>; /** 主题 */ theme: z.ZodDefault>; /** 代码编辑器配置 */ codeEditor: z.ZodDefault>; }, "strip", z.ZodTypeAny, { theme: "monokai" | "nord" | "github" | "material" | "vscode" | "tokyo" | "gruvbox"; }, { theme?: "monokai" | "nord" | "github" | "material" | "vscode" | "tokyo" | "gruvbox" | undefined; }>>; /** Hosted app 基础 URL(空字符串表示使用官方默认值) */ appBaseUrl: z.ZodDefault; /** OPSX workflow invocation preferences */ opsx: z.ZodDefault>; }, "strip", z.ZodTypeAny, { agentInvocationMode: "command" | "compose"; }, { agentInvocationMode?: "command" | "compose" | undefined; }>>; /** 终端配置 */ terminal: z.ZodDefault; fontFamily: z.ZodDefault; cursorBlink: z.ZodDefault; cursorStyle: z.ZodDefault>; scrollback: z.ZodDefault; useTheme: z.ZodDefault>; lightTheme: z.ZodDefault>; darkTheme: z.ZodDefault>; rendererEngine: z.ZodDefault>; bellSound: z.ZodDefault, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>; bellVolume: z.ZodDefault; }, "strip", z.ZodTypeAny, { fontSize: number; fontFamily: string; cursorBlink: boolean; cursorStyle: "block" | "underline" | "bar"; scrollback: number; useTheme: "app" | "light" | "dark" | "system"; lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark"; darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark"; rendererEngine: "xterm" | "ghostty"; bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`; bellVolume: number; }, { fontSize?: number | undefined; fontFamily?: string | undefined; cursorBlink?: boolean | undefined; cursorStyle?: "block" | "underline" | "bar" | undefined; scrollback?: number | undefined; useTheme?: "app" | "light" | "dark" | "system" | undefined; lightTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined; darkTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined; rendererEngine?: "xterm" | "ghostty" | undefined; bellSound?: unknown; bellVolume?: number | undefined; }>>; /** Dashboard 配置 */ dashboard: z.ZodDefault; }, "strip", z.ZodTypeAny, { trendPointLimit: number; }, { trendPointLimit?: number | undefined; }>>; /** Git detail 配置 */ git: z.ZodDefault; }, "strip", z.ZodTypeAny, { diffEagerLineBudget: number; }, { diffEagerLineBudget?: number | undefined; }>>; /** Notification preferences */ notifications: z.ZodDefault, z.ZodEnum<["builtin:Basso", "builtin:Blow", "builtin:Bottle", "builtin:Frog", "builtin:Funk", "builtin:Glass", "builtin:Hero", "builtin:Morse", "builtin:Ping", "builtin:Pop", "builtin:Purr", "builtin:Sosumi", "builtin:Submarine", "builtin:Tink"]>, z.ZodType<`custom:${string}`, z.ZodTypeDef, `custom:${string}`>]>, "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`, unknown>>; volume: z.ZodDefault; systemNotificationsEnabled: z.ZodDefault; }, "strip", z.ZodTypeAny, { sound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`; volume: number; systemNotificationsEnabled: boolean; }, { sound?: unknown; volume?: number | undefined; systemNotificationsEnabled?: boolean | undefined; }>>; /** Browser-side document translation preferences */ translation: z.ZodDefault; targetLanguage: z.ZodDefault; displayMode: z.ZodDefault>; cacheEnabled: z.ZodDefault; engineId: z.ZodDefault>; engines: z.ZodDefault; selectedGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | undefined; }, { model?: string | undefined; selectedGroupId?: string | undefined; }>>; localCt2: z.ZodDefault; selectedGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | undefined; }, { model?: string | undefined; selectedGroupId?: string | undefined; }>>; localLlama: z.ZodDefault; selectedGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { model?: string | undefined; selectedGroupId?: string | undefined; }, { model?: string | undefined; selectedGroupId?: string | undefined; }>>; openai: z.ZodDefault; }, "strip", z.ZodTypeAny, { model?: string | undefined; }, { model?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { local: { model?: string | undefined; selectedGroupId?: string | undefined; }; localCt2: { model?: string | undefined; selectedGroupId?: string | undefined; }; localLlama: { model?: string | undefined; selectedGroupId?: string | undefined; }; openai: { model?: string | undefined; }; }, { local?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled: boolean; targetLanguage: string; displayMode: "direct" | "bilingual"; cacheEnabled: boolean; engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama"; engines: { local: { model?: string | undefined; selectedGroupId?: string | undefined; }; localCt2: { model?: string | undefined; selectedGroupId?: string | undefined; }; localLlama: { model?: string | undefined; selectedGroupId?: string | undefined; }; openai: { model?: string | undefined; }; }; }, { enabled?: boolean | undefined; targetLanguage?: string | undefined; displayMode?: "direct" | "bilingual" | undefined; cacheEnabled?: boolean | undefined; engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined; engines?: { local?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { git: { diffEagerLineBudget: number; }; terminal: { fontSize: number; fontFamily: string; cursorBlink: boolean; cursorStyle: "block" | "underline" | "bar"; scrollback: number; useTheme: "app" | "light" | "dark" | "system"; lightTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark"; darkTheme: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark"; rendererEngine: "xterm" | "ghostty"; bellSound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`; bellVolume: number; }; cli: { command?: string | undefined; args?: string[] | undefined; }; theme: "light" | "dark" | "system"; codeEditor: { theme: "monokai" | "nord" | "github" | "material" | "vscode" | "tokyo" | "gruvbox"; }; appBaseUrl: string; opsx: { agentInvocationMode: "command" | "compose"; }; dashboard: { trendPointLimit: number; }; notifications: { sound: "silent" | "builtin:Basso" | "builtin:Blow" | "builtin:Bottle" | "builtin:Frog" | "builtin:Funk" | "builtin:Glass" | "builtin:Hero" | "builtin:Morse" | "builtin:Ping" | "builtin:Pop" | "builtin:Purr" | "builtin:Sosumi" | "builtin:Submarine" | "builtin:Tink" | `custom:${string}`; volume: number; systemNotificationsEnabled: boolean; }; translation: { enabled: boolean; targetLanguage: string; displayMode: "direct" | "bilingual"; cacheEnabled: boolean; engineId: "local" | "openai" | "browser" | "local-ct2" | "local-llama"; engines: { local: { model?: string | undefined; selectedGroupId?: string | undefined; }; localCt2: { model?: string | undefined; selectedGroupId?: string | undefined; }; localLlama: { model?: string | undefined; selectedGroupId?: string | undefined; }; openai: { model?: string | undefined; }; }; }; }, { git?: { diffEagerLineBudget?: number | undefined; } | undefined; terminal?: { fontSize?: number | undefined; fontFamily?: string | undefined; cursorBlink?: boolean | undefined; cursorStyle?: "block" | "underline" | "bar" | undefined; scrollback?: number | undefined; useTheme?: "app" | "light" | "dark" | "system" | undefined; lightTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined; darkTheme?: "default-light" | "default-dark" | "monokai" | "nord" | "solarized-light" | "solarized-dark" | undefined; rendererEngine?: "xterm" | "ghostty" | undefined; bellSound?: unknown; bellVolume?: number | undefined; } | undefined; cli?: { command?: string | undefined; args?: string[] | undefined; } | undefined; theme?: "light" | "dark" | "system" | undefined; codeEditor?: { theme?: "monokai" | "nord" | "github" | "material" | "vscode" | "tokyo" | "gruvbox" | undefined; } | undefined; appBaseUrl?: string | undefined; opsx?: { agentInvocationMode?: "command" | "compose" | undefined; } | undefined; dashboard?: { trendPointLimit?: number | undefined; } | undefined; notifications?: { sound?: unknown; volume?: number | undefined; systemNotificationsEnabled?: boolean | undefined; } | undefined; translation?: { enabled?: boolean | undefined; targetLanguage?: string | undefined; displayMode?: "direct" | "bilingual" | undefined; cacheEnabled?: boolean | undefined; engineId?: "local" | "openai" | "browser" | "local-ct2" | "local-llama" | undefined; engines?: { local?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localCt2?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; localLlama?: { model?: string | undefined; selectedGroupId?: string | undefined; } | undefined; openai?: { model?: string | undefined; } | undefined; } | undefined; } | undefined; }>; type OpenSpecUIConfig = z.infer; type OpenSpecUIConfigUpdate = { cli?: { command?: string | null; args?: string[] | null; }; theme?: OpenSpecUIConfig['theme']; codeEditor?: Partial; appBaseUrl?: OpenSpecUIConfig['appBaseUrl']; opsx?: Partial; terminal?: Partial; dashboard?: Partial; git?: Partial; notifications?: Partial; translation?: DocumentTranslationConfigUpdate; }; interface OpenSpecUIConfigPresence { translation: { enabled: boolean; targetLanguage: boolean; displayMode: boolean; cacheEnabled: boolean; engineId: boolean; engines: { local: boolean; localCt2: boolean; localLlama: boolean; openai: boolean; }; }; } /** 默认配置(静态,用于测试和类型) */ declare const DEFAULT_CONFIG: OpenSpecUIConfig; /** * 配置管理器 * * 负责读写 openspec/.openspecui.json 配置文件。 * 读取操作使用 reactiveReadFile,支持响应式更新。 * * `.openspecui.json` 是预期中的项目级 UI 配置文件,但只有显式偏离默认值的 * override 才会落盘。仅启动 openspecui 或仅依赖默认配置时,不应触发文件写入。 */ declare class ConfigManager { private configPath; private projectDir; private resolvedRunner; private resolvedRunnerGeneration; private resolvingRunnerPromise; private writeChain; constructor(projectDir: string); private parseConfigContent; /** * 读取配置(响应式) * * 如果配置文件不存在,返回默认配置。 * 如果配置文件格式错误,返回默认配置并打印警告。 */ readConfig(): Promise; readConfigPresence(): Promise; /** * 写入配置 * * 会触发文件监听,自动更新订阅者。 */ writeConfig(config: OpenSpecUIConfigUpdate): Promise; private enqueueWrite; private resolveDefaultCliCommandParts; private isDefaultCliCommand; /** * 解析并缓存可用 CLI runner。 */ private resolveCliRunner; private resolveCliRunnerUncached; /** * 获取 CLI 命令(数组形式) */ getCliCommand(): Promise; /** * 获取 CLI 命令的字符串形式(用于 UI 显示) */ getCliCommandString(): Promise; /** * 获取 CLI 解析结果(用于诊断) */ getResolvedCliRunner(): Promise; /** * Retire the resolved and in-flight CLI runner generation. * * Existing callers still receive their own resolution result, but a retired resolution cannot * repopulate the shared cache or clear a newer pending owner. */ invalidateResolvedCliRunner(): void; /** * 设置 CLI 命令 */ setCliCommand(command: string): Promise; private getConfiguredCommandParts; /** * 设置主题 */ setTheme(theme: OpenSpecUIConfig['theme']): Promise; /** * 设置终端配置(部分更新) */ setTerminalConfig(terminal: Partial): Promise; } //#endregion //#region src/cli-executor.d.ts /** * CLI 执行结果。 * * `success` 是传输事实:收到了完整的观察结果(进程以观测到的代码退出,或通过 * eager-JSON 获得了完整的 JSON 文档)。它不是对进程退出状态的断言 —— 对于提前 * 解析的命令,`exitCode` 诚实地保持为 `null`,调用者必须将其视为未知。当载荷 * 本身包含 CLI 失败时(例如 OpenSpec 1.9 的 selected-Root envelope),契约层 * 会单独携带该失败。 */ interface CliResult { success: boolean; stdout: string; stderr: string; exitCode: number | null; } /** CLI 流式输出事件 */ interface CliStreamEvent { type: 'command' | 'stdout' | 'stderr' | 'exit'; data?: string; exitCode?: number | null; } /** Terminal fact that releases ownership of one CLI stream process. */ interface CliStreamSettlement { reason: 'exited' | 'cancelled' | 'startup-failed'; exitCode: number | null; } /** Settlement-aware owner returned immediately for one CLI stream. */ interface CliStreamHandle { readonly settled: Promise; cancel(): Promise; } /** Failure raised when even forced termination cannot confirm child-process close. */ declare class CliStreamTerminationError extends Error { constructor(command: string); } /** * CLI 执行器 * * 负责调用外部 openspec CLI 命令,统一通过 ConfigManager 的 runner 解析结果执行。 * 所有命令都使用 shell: false,避免 shell 注入风险。 */ declare class CliExecutor { private configManager; private projectDir; readonly contracts: OpenSpecCliContractExecutor; private readonly bufferedAdmission; private readonly bufferedAbortController; private readonly activeBufferedCommands; private activeBufferedChildren; private peakBufferedChildren; private disposePromise; private disposed; constructor(configManager: ConfigManager, projectDir: string); private buildCommandArray; private runCommandOnce; private recordAdmissionEvidence; private executeInternal; private executeInternalCore; /** * 执行 CLI 命令 */ execute(args: string[]): Promise; /** Cancel and await every buffered CLI child owned by this executor. */ dispose(): Promise; /** * 执行 openspec init(非交互式) */ init(options?: { tools?: string[] | 'all' | 'none'; profile?: 'core' | 'custom'; force?: boolean; }): Promise; /** * 执行 openspec archive (非交互式) */ archive(changeId: string, options?: { skipSpecs?: boolean; noValidate?: boolean; }): Promise; /** * 执行 openspec validate [type] [id] */ validate(type?: 'spec' | 'change', id?: string): Promise; /** * 执行 openspec schemas --json(可选转发所选 Root 的 Store 选择器) */ schemas(selector?: { store?: string; }): Promise; /** * 执行 openspec schema which --json */ schemaWhich(name: string): Promise; /** * 执行 openspec templates --json [--schema ] */ templates(schema?: string): Promise; /** * 流式执行 openspec validate */ validateStream(options: { type?: 'spec' | 'change'; id?: string; strict?: boolean; store?: string; }, onEvent: (event: CliStreamEvent) => void): CliStreamHandle; /** * 检查 CLI 是否可用 */ checkAvailability(timeout?: number): Promise<{ available: boolean; version?: string; error?: string; effectiveCommand?: string; tried?: string[]; }>; /** * 流式执行 CLI 命令 */ executeStream(args: string[], onEvent: (event: CliStreamEvent) => void): CliStreamHandle; private createStreamHandle; /** * 流式执行 openspec init */ initStream(options: { tools?: string[] | 'all' | 'none'; profile?: 'core' | 'custom'; force?: boolean; }, onEvent: (event: CliStreamEvent) => void): CliStreamHandle; /** Stream the fixed project bootstrap command without installing Agent integrations. */ initProjectStream(projectPath: string, onEvent: (event: CliStreamEvent) => void): CliStreamHandle; /** * 流式执行 openspec archive */ archiveStream(changeId: string, options: { skipSpecs?: boolean; noValidate?: boolean; store?: string; }, onEvent: (event: CliStreamEvent) => void): CliStreamHandle; /** * 流式执行任意命令(数组形式) * * 字面量 `openspec` 会自动通过已解析的 CLI runner 执行, * 其它命令保持原始 spawn 行为。 */ executeCommandStream(command: readonly string[], onEvent: (event: CliStreamEvent) => void): CliStreamHandle; } //#endregion //#region src/cli-contracts/common.d.ts /** Upstream diagnostic emitted in a CLI JSON status array. */ declare const CliDiagnosticSchema: z.ZodObject<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; /** Upstream provenance for the CLI-selected planning root. */ declare const CliRootSourceSchema: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; /** CLI-selected planning root with upstream selection provenance. */ declare const CliRootSchema: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; /** Health-only direct Reference entry emitted by OpenSpec Doctor. */ declare const CliDoctorReferenceEntrySchema: z.ZodObject<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; /** Spec-bearing direct Reference index emitted by workflow Instructions. */ declare const CliReferenceIndexEntrySchema: z.ZodObject<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; /** JSON failure payload whose truth is carried entirely by upstream diagnostics. */ declare const CliDiagnosticFailureSchema: z.ZodObject<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; type CliDiagnostic = z.infer; type CliRoot = z.infer; type CliRootSource = z.infer; /** Health-only direct Reference entry returned by OpenSpec Doctor. */ type CliDoctorReferenceEntry = z.infer; /** Spec-bearing direct Reference index returned by workflow Instructions. */ type CliReferenceIndexEntry = z.infer; type CliDiagnosticFailure = z.infer; //#endregion //#region src/cli-contracts/command-result.d.ts /** JSON value retained verbatim from one OpenSpec CLI stdout document. */ type CliJsonValue = string | number | boolean | null | CliJsonValue[] | { [key: string]: CliJsonValue; }; /** Runtime transport envelope for one CLI command result. */ declare const CliCommandTransportSchema: z.ZodObject<{ success: z.ZodBoolean; stdout: z.ZodString; stderr: z.ZodString; exitCode: z.ZodNullable; data: z.ZodNullable>; payload: z.ZodNullable>; diagnostics: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; contractError: z.ZodOptional; }, "strip", z.ZodTypeAny, { success: boolean; stdout: string; stderr: string; exitCode: number | null; payload: CliJsonValue; diagnostics: z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; data: CliJsonValue; contractError?: string | undefined; }, { success: boolean; stdout: string; stderr: string; exitCode: number | null; payload: CliJsonValue; diagnostics: z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[]; data: CliJsonValue; contractError?: string | undefined; }>; /** Complete process, raw payload, typed data, and diagnostic evidence for one CLI command. */ interface CliCommandResult extends CliResult { data: T | null; payload: CliJsonValue | null; diagnostics: CliDiagnostic[]; contractError?: string; } /** Parse one CLI JSON document while retaining all process and raw-payload evidence. */ declare function parseCliCommandResult(result: CliResult, schema: z.ZodType): CliCommandResult; //#endregion //#region src/cli-contracts/schema-resolution.d.ts /** Typed sum result of `openspec schemas --json`. */ declare const CliSchemasSchema: z.ZodUnion<[z.ZodArray; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; description: z.ZodOptional; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; description: z.ZodOptional; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">>, "many">, z.ZodObject<{ schemas: z.ZodArray; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; description: z.ZodOptional; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; description: z.ZodOptional; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodNull; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ schemas: z.ZodArray; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; description: z.ZodOptional; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; description: z.ZodOptional; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodNull; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ schemas: z.ZodArray; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; description: z.ZodOptional; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; description: z.ZodOptional; artifacts: z.ZodArray; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodNull; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>]>; type CliSchemas = z.infer; //#endregion //#region src/cli-contracts/store.d.ts /** Registered Store identity and canonical root emitted by the CLI. */ declare const CliStoreSchema: z.ZodObject<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; /** Strict typed result of the CLI Store-list JSON command. */ declare const CliStoreListSchema: z.ZodObject<{ stores: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ stores: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ stores: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; /** Strict Store setup/register mutation result. */ declare const CliStoreMutationSchema: z.ZodObject<{ store: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; registry: z.ZodNullable, z.objectInputType<{ path: z.ZodString; registered: z.ZodBoolean; already_registered: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>>; git: z.ZodNullable, z.objectInputType<{ is_repository: z.ZodBoolean; initialized: z.ZodBoolean; committed: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>>; created_files: z.ZodArray; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; registry: z.ZodNullable, z.objectInputType<{ path: z.ZodString; registered: z.ZodBoolean; already_registered: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>>; git: z.ZodNullable, z.objectInputType<{ is_repository: z.ZodBoolean; initialized: z.ZodBoolean; committed: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>>; created_files: z.ZodArray; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; registry: z.ZodNullable, z.objectInputType<{ path: z.ZodString; registered: z.ZodBoolean; already_registered: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>>; git: z.ZodNullable, z.objectInputType<{ is_repository: z.ZodBoolean; initialized: z.ZodBoolean; committed: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>>; created_files: z.ZodArray; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; /** Strict Store unregister/remove cleanup result. */ declare const CliStoreCleanupSchema: z.ZodObject<{ store: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; registry: z.ZodNullable, z.objectInputType<{ path: z.ZodString; removed: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>>; files: z.ZodNullable; left_on_disk: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ deleted: z.ZodBoolean; deleted_path: z.ZodNullable; left_on_disk: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ deleted: z.ZodBoolean; deleted_path: z.ZodNullable; left_on_disk: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; registry: z.ZodNullable, z.objectInputType<{ path: z.ZodString; removed: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>>; files: z.ZodNullable; left_on_disk: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ deleted: z.ZodBoolean; deleted_path: z.ZodNullable; left_on_disk: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ deleted: z.ZodBoolean; deleted_path: z.ZodNullable; left_on_disk: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; registry: z.ZodNullable, z.objectInputType<{ path: z.ZodString; removed: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>>; files: z.ZodNullable; left_on_disk: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ deleted: z.ZodBoolean; deleted_path: z.ZodNullable; left_on_disk: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ deleted: z.ZodBoolean; deleted_path: z.ZodNullable; left_on_disk: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; /** Strict Doctor facts for one registered Store. */ declare const CliStoreDoctorEntrySchema: z.ZodObject<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; /** Strict typed result of the CLI Store Doctor JSON command. */ declare const CliStoreDoctorSchema: z.ZodObject<{ stores: z.ZodArray; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ stores: z.ZodArray; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ stores: z.ZodArray; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; root: z.ZodString; metadata_path: z.ZodOptional; } & { openspec_root: z.ZodObject<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; config: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; specs: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; changes: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; archive: z.ZodObject<{ present: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; git: z.ZodObject<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ is_repository: z.ZodNullable; has_commits: z.ZodNullable; has_uncommitted_changes: z.ZodNullable; has_remote: z.ZodNullable; origin_url: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; /** Root, Store, Reference, and diagnostic result of CLI Doctor. */ declare const CliDoctorSchema: z.ZodObject<{ root: z.ZodNullable; store_id: z.ZodOptional; } & { healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; store: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; origin_url: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; origin_url: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; origin_url: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; references: z.ZodArray; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ root: z.ZodNullable; store_id: z.ZodOptional; } & { healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; store: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; origin_url: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; origin_url: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; origin_url: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; references: z.ZodArray; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ root: z.ZodNullable; store_id: z.ZodOptional; } & { healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { healthy: z.ZodBoolean; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; store: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; origin_url: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; origin_url: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; metadata: z.ZodObject<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ present: z.ZodNullable; valid: z.ZodNullable; id: z.ZodOptional>; remote: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; origin_url: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; references: z.ZodArray; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; /** Root and direct referenced-Store relationship result of CLI Context. */ declare const CliContextSchema: z.ZodObject<{ root: z.ZodNullable; store_id: z.ZodOptional; } & { role: z.ZodLiteral<"openspec_root">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { role: z.ZodLiteral<"openspec_root">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { role: z.ZodLiteral<"openspec_root">; }, z.ZodTypeAny, "passthrough">>>; members: z.ZodArray; id: z.ZodString; path: z.ZodOptional; remote: z.ZodOptional; fetch: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ role: z.ZodLiteral<"referenced_store">; id: z.ZodString; path: z.ZodOptional; remote: z.ZodOptional; fetch: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ role: z.ZodLiteral<"referenced_store">; id: z.ZodString; path: z.ZodOptional; remote: z.ZodOptional; fetch: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ root: z.ZodNullable; store_id: z.ZodOptional; } & { role: z.ZodLiteral<"openspec_root">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { role: z.ZodLiteral<"openspec_root">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { role: z.ZodLiteral<"openspec_root">; }, z.ZodTypeAny, "passthrough">>>; members: z.ZodArray; id: z.ZodString; path: z.ZodOptional; remote: z.ZodOptional; fetch: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ role: z.ZodLiteral<"referenced_store">; id: z.ZodString; path: z.ZodOptional; remote: z.ZodOptional; fetch: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ role: z.ZodLiteral<"referenced_store">; id: z.ZodString; path: z.ZodOptional; remote: z.ZodOptional; fetch: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ root: z.ZodNullable; store_id: z.ZodOptional; } & { role: z.ZodLiteral<"openspec_root">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { role: z.ZodLiteral<"openspec_root">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; } & { role: z.ZodLiteral<"openspec_root">; }, z.ZodTypeAny, "passthrough">>>; members: z.ZodArray; id: z.ZodString; path: z.ZodOptional; remote: z.ZodOptional; fetch: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ role: z.ZodLiteral<"referenced_store">; id: z.ZodString; path: z.ZodOptional; remote: z.ZodOptional; fetch: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ role: z.ZodLiteral<"referenced_store">; id: z.ZodString; path: z.ZodOptional; remote: z.ZodOptional; fetch: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; type CliStore = z.infer; type CliStoreList = z.infer; type CliStoreMutation = z.infer; type CliStoreCleanup = z.infer; type CliStoreDoctorEntry = z.infer; type CliStoreDoctor = z.infer; type CliDoctor = z.infer; type CliContext = z.infer; //#endregion //#region src/cli-contracts/workflow.d.ts declare const CliChangeListEntrySchema: z.ZodObject<{ name: z.ZodString; completedTasks: z.ZodNumber; totalTasks: z.ZodNumber; lastModified: z.ZodString; status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; completedTasks: z.ZodNumber; totalTasks: z.ZodNumber; lastModified: z.ZodString; status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; completedTasks: z.ZodNumber; totalTasks: z.ZodNumber; lastModified: z.ZodString; status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>; }, z.ZodTypeAny, "passthrough">>; /** Typed result of the CLI change-list JSON command. */ declare const CliChangeListSchema: z.ZodObject<{ changes: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; completedTasks: z.ZodNumber; totalTasks: z.ZodNumber; lastModified: z.ZodString; status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; completedTasks: z.ZodNumber; totalTasks: z.ZodNumber; lastModified: z.ZodString; status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodNullable; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ changes: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; completedTasks: z.ZodNumber; totalTasks: z.ZodNumber; lastModified: z.ZodString; status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; completedTasks: z.ZodNumber; totalTasks: z.ZodNumber; lastModified: z.ZodString; status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodNullable; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ changes: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; completedTasks: z.ZodNumber; totalTasks: z.ZodNumber; lastModified: z.ZodString; status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; completedTasks: z.ZodNumber; totalTasks: z.ZodNumber; lastModified: z.ZodString; status: z.ZodEnum<["no-tasks", "complete", "in-progress"]>; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodNullable; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>; /** Typed result of the CLI Spec-list JSON command. */ declare const CliSpecListSchema: z.ZodObject<{ specs: z.ZodArray, z.objectInputType<{ id: z.ZodString; requirementCount: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodNullable; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ specs: z.ZodArray, z.objectInputType<{ id: z.ZodString; requirementCount: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodNullable; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ specs: z.ZodArray, z.objectInputType<{ id: z.ZodString; requirementCount: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodNullable; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>; /** Typed result of `openspec schema which --json`. */ declare const CliSchemaWhichSchema: z.ZodObject<{ name: z.ZodString; source: z.ZodEnum<["project", "user", "package"]>; path: z.ZodString; shadows: z.ZodArray; path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodEnum<["project", "user", "package"]>; path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodEnum<["project", "user", "package"]>; path: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; source: z.ZodEnum<["project", "user", "package"]>; path: z.ZodString; shadows: z.ZodArray; path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodEnum<["project", "user", "package"]>; path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodEnum<["project", "user", "package"]>; path: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; source: z.ZodEnum<["project", "user", "package"]>; path: z.ZodString; shadows: z.ZodArray; path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodEnum<["project", "user", "package"]>; path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodEnum<["project", "user", "package"]>; path: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; declare const CliTemplatesSchema: z.ZodRecord; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["project", "user", "package"]>; }, z.ZodTypeAny, "passthrough">>>; /** Typed successful document returned by the CLI show-Spec JSON command. */ declare const CliShowSpecDocumentSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; overview: z.ZodString; requirementCount: z.ZodNumber; requirements: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; metadata: z.ZodObject<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; overview: z.ZodString; requirementCount: z.ZodNumber; requirements: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; metadata: z.ZodObject<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; overview: z.ZodString; requirementCount: z.ZodNumber; requirements: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; metadata: z.ZodObject<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; /** Typed success or diagnostic failure result of the CLI show-Spec JSON command. */ declare const CliShowSpecSchema: z.ZodUnion<[z.ZodObject<{ id: z.ZodString; title: z.ZodString; overview: z.ZodString; requirementCount: z.ZodNumber; requirements: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; metadata: z.ZodObject<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; overview: z.ZodString; requirementCount: z.ZodNumber; requirements: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; metadata: z.ZodObject<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; overview: z.ZodString; requirementCount: z.ZodNumber; requirements: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; scenarios: z.ZodArray, z.objectInputType<{ rawText: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; metadata: z.ZodObject<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodString; format: z.ZodString; sourcePath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>]>; /** Typed success or diagnostic failure result of the CLI Status JSON command. */ declare const CliWorkflowStatusSchema: z.ZodUnion<[z.ZodObject<{ changeName: z.ZodString; schemaName: z.ZodString; planningHome: z.ZodObject<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">>; changeRoot: z.ZodString; artifactPaths: z.ZodRecord; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ outputPath: z.ZodString; resolvedOutputPath: z.ZodString; existingOutputPaths: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ outputPath: z.ZodString; resolvedOutputPath: z.ZodString; existingOutputPaths: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; /** Required planning-artifact completion fact since OpenSpec 1.8. */ isPlanningComplete: z.ZodBoolean; /** Retained upstream compatibility alias, kept only as raw CLI evidence. */ isComplete: z.ZodOptional; applyRequires: z.ZodArray; nextSteps: z.ZodArray; actionContext: z.ZodObject<{ mode: z.ZodLiteral<"repo-local">; sourceOfTruth: z.ZodLiteral<"repo">; planningArtifacts: z.ZodArray; linkedContext: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; allowedEditRoots: z.ZodArray; requiresAffectedAreaSelection: z.ZodBoolean; constraints: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodLiteral<"repo-local">; sourceOfTruth: z.ZodLiteral<"repo">; planningArtifacts: z.ZodArray; linkedContext: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; allowedEditRoots: z.ZodArray; requiresAffectedAreaSelection: z.ZodBoolean; constraints: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodLiteral<"repo-local">; sourceOfTruth: z.ZodLiteral<"repo">; planningArtifacts: z.ZodArray; linkedContext: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; allowedEditRoots: z.ZodArray; requiresAffectedAreaSelection: z.ZodBoolean; constraints: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; artifacts: z.ZodArray; requires: z.ZodArray; missingDeps: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; outputPath: z.ZodString; status: z.ZodEnum<["done", "skipped", "ready", "blocked"]>; requires: z.ZodArray; missingDeps: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; outputPath: z.ZodString; status: z.ZodEnum<["done", "skipped", "ready", "blocked"]>; requires: z.ZodArray; missingDeps: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ changeName: z.ZodString; schemaName: z.ZodString; planningHome: z.ZodObject<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">>; changeRoot: z.ZodString; artifactPaths: z.ZodRecord; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ outputPath: z.ZodString; resolvedOutputPath: z.ZodString; existingOutputPaths: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ outputPath: z.ZodString; resolvedOutputPath: z.ZodString; existingOutputPaths: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; /** Required planning-artifact completion fact since OpenSpec 1.8. */ isPlanningComplete: z.ZodBoolean; /** Retained upstream compatibility alias, kept only as raw CLI evidence. */ isComplete: z.ZodOptional; applyRequires: z.ZodArray; nextSteps: z.ZodArray; actionContext: z.ZodObject<{ mode: z.ZodLiteral<"repo-local">; sourceOfTruth: z.ZodLiteral<"repo">; planningArtifacts: z.ZodArray; linkedContext: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; allowedEditRoots: z.ZodArray; requiresAffectedAreaSelection: z.ZodBoolean; constraints: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodLiteral<"repo-local">; sourceOfTruth: z.ZodLiteral<"repo">; planningArtifacts: z.ZodArray; linkedContext: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; allowedEditRoots: z.ZodArray; requiresAffectedAreaSelection: z.ZodBoolean; constraints: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodLiteral<"repo-local">; sourceOfTruth: z.ZodLiteral<"repo">; planningArtifacts: z.ZodArray; linkedContext: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; allowedEditRoots: z.ZodArray; requiresAffectedAreaSelection: z.ZodBoolean; constraints: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; artifacts: z.ZodArray; requires: z.ZodArray; missingDeps: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; outputPath: z.ZodString; status: z.ZodEnum<["done", "skipped", "ready", "blocked"]>; requires: z.ZodArray; missingDeps: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; outputPath: z.ZodString; status: z.ZodEnum<["done", "skipped", "ready", "blocked"]>; requires: z.ZodArray; missingDeps: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ changeName: z.ZodString; schemaName: z.ZodString; planningHome: z.ZodObject<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">>; changeRoot: z.ZodString; artifactPaths: z.ZodRecord; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ outputPath: z.ZodString; resolvedOutputPath: z.ZodString; existingOutputPaths: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ outputPath: z.ZodString; resolvedOutputPath: z.ZodString; existingOutputPaths: z.ZodArray; }, z.ZodTypeAny, "passthrough">>>; /** Required planning-artifact completion fact since OpenSpec 1.8. */ isPlanningComplete: z.ZodBoolean; /** Retained upstream compatibility alias, kept only as raw CLI evidence. */ isComplete: z.ZodOptional; applyRequires: z.ZodArray; nextSteps: z.ZodArray; actionContext: z.ZodObject<{ mode: z.ZodLiteral<"repo-local">; sourceOfTruth: z.ZodLiteral<"repo">; planningArtifacts: z.ZodArray; linkedContext: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; allowedEditRoots: z.ZodArray; requiresAffectedAreaSelection: z.ZodBoolean; constraints: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodLiteral<"repo-local">; sourceOfTruth: z.ZodLiteral<"repo">; planningArtifacts: z.ZodArray; linkedContext: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; allowedEditRoots: z.ZodArray; requiresAffectedAreaSelection: z.ZodBoolean; constraints: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodLiteral<"repo-local">; sourceOfTruth: z.ZodLiteral<"repo">; planningArtifacts: z.ZodArray; linkedContext: z.ZodArray, z.objectInputType<{ name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; allowedEditRoots: z.ZodArray; requiresAffectedAreaSelection: z.ZodBoolean; constraints: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; artifacts: z.ZodArray; requires: z.ZodArray; missingDeps: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; outputPath: z.ZodString; status: z.ZodEnum<["done", "skipped", "ready", "blocked"]>; requires: z.ZodArray; missingDeps: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; outputPath: z.ZodString; status: z.ZodEnum<["done", "skipped", "ready", "blocked"]>; requires: z.ZodArray; missingDeps: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, "many">; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>]>; /** Typed success or diagnostic failure result for artifact Instructions. */ declare const CliArtifactInstructionsSchema: z.ZodUnion<[z.ZodObject<{ changeName: z.ZodString; artifactId: z.ZodString; schemaName: z.ZodString; changeDir: z.ZodString; planningHome: z.ZodObject<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">>; outputPath: z.ZodString; resolvedOutputPath: z.ZodString; existingOutputPaths: z.ZodArray; description: z.ZodString; instruction: z.ZodOptional; context: z.ZodOptional; rules: z.ZodOptional>; template: z.ZodString; dependencies: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; done: z.ZodBoolean; path: z.ZodString; description: z.ZodString; skipped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; done: z.ZodBoolean; path: z.ZodString; description: z.ZodString; skipped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; unlocks: z.ZodArray; references: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ changeName: z.ZodString; artifactId: z.ZodString; schemaName: z.ZodString; changeDir: z.ZodString; planningHome: z.ZodObject<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">>; outputPath: z.ZodString; resolvedOutputPath: z.ZodString; existingOutputPaths: z.ZodArray; description: z.ZodString; instruction: z.ZodOptional; context: z.ZodOptional; rules: z.ZodOptional>; template: z.ZodString; dependencies: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; done: z.ZodBoolean; path: z.ZodString; description: z.ZodString; skipped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; done: z.ZodBoolean; path: z.ZodString; description: z.ZodString; skipped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; unlocks: z.ZodArray; references: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ changeName: z.ZodString; artifactId: z.ZodString; schemaName: z.ZodString; changeDir: z.ZodString; planningHome: z.ZodObject<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ kind: z.ZodLiteral<"repo">; root: z.ZodString; changesDir: z.ZodString; defaultSchema: z.ZodString; }, z.ZodTypeAny, "passthrough">>; outputPath: z.ZodString; resolvedOutputPath: z.ZodString; existingOutputPaths: z.ZodArray; description: z.ZodString; instruction: z.ZodOptional; context: z.ZodOptional; rules: z.ZodOptional>; template: z.ZodString; dependencies: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; done: z.ZodBoolean; path: z.ZodString; description: z.ZodString; skipped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; done: z.ZodBoolean; path: z.ZodString; description: z.ZodString; skipped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; unlocks: z.ZodArray; references: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>]>; /** Typed success or diagnostic failure result of the CLI Apply Instructions command. */ declare const CliApplyInstructionsSchema: z.ZodUnion<[z.ZodObject<{ changeName: z.ZodString; changeDir: z.ZodString; schemaName: z.ZodString; contextFiles: z.ZodRecord>; progress: z.ZodObject<{ total: z.ZodNumber; complete: z.ZodNumber; remaining: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: number; total: number; remaining: number; }, { complete: number; total: number; remaining: number; }>; tasks: z.ZodArray, z.objectInputType<{ id: z.ZodString; description: z.ZodString; done: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, "many">; state: z.ZodEnum<["blocked", "all_done", "ready"]>; missingArtifacts: z.ZodOptional>; instruction: z.ZodString; references: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; context: z.ZodOptional; operationGuidance: z.ZodOptional>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ changeName: z.ZodString; changeDir: z.ZodString; schemaName: z.ZodString; contextFiles: z.ZodRecord>; progress: z.ZodObject<{ total: z.ZodNumber; complete: z.ZodNumber; remaining: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: number; total: number; remaining: number; }, { complete: number; total: number; remaining: number; }>; tasks: z.ZodArray, z.objectInputType<{ id: z.ZodString; description: z.ZodString; done: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, "many">; state: z.ZodEnum<["blocked", "all_done", "ready"]>; missingArtifacts: z.ZodOptional>; instruction: z.ZodString; references: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; context: z.ZodOptional; operationGuidance: z.ZodOptional>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ changeName: z.ZodString; changeDir: z.ZodString; schemaName: z.ZodString; contextFiles: z.ZodRecord>; progress: z.ZodObject<{ total: z.ZodNumber; complete: z.ZodNumber; remaining: z.ZodNumber; }, "strip", z.ZodTypeAny, { complete: number; total: number; remaining: number; }, { complete: number; total: number; remaining: number; }>; tasks: z.ZodArray, z.objectInputType<{ id: z.ZodString; description: z.ZodString; done: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, "many">; state: z.ZodEnum<["blocked", "all_done", "ready"]>; missingArtifacts: z.ZodOptional>; instruction: z.ZodString; references: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ store_id: z.ZodString; root: z.ZodOptional; status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; } & { specs: z.ZodOptional, z.objectInputType<{ id: z.ZodString; summary: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">>; fetch: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; context: z.ZodOptional; operationGuidance: z.ZodOptional>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>]>; /** Typed success or diagnostic failure result of the CLI Archive Instructions command. */ declare const CliArchiveInstructionsSchema: z.ZodUnion<[z.ZodObject<{ changeName: z.ZodString; context: z.ZodOptional; operationGuidance: z.ZodOptional>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ changeName: z.ZodString; context: z.ZodOptional; operationGuidance: z.ZodOptional>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ changeName: z.ZodString; context: z.ZodOptional; operationGuidance: z.ZodOptional>; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>]>; /** Typed ordinary Validate report, also used by 1.9 `validate --archived --json`. */ declare const CliValidateReportSchema: z.ZodObject<{ items: z.ZodArray; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; summary: z.ZodObject<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; version: z.ZodString; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodArray; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; summary: z.ZodObject<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; version: z.ZodString; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodArray; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; summary: z.ZodObject<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; version: z.ZodString; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; /** Typed strict, non-strict, or archived Validate result, including failure diagnostics. */ declare const CliValidateSchema: z.ZodUnion<[z.ZodObject<{ items: z.ZodArray; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; summary: z.ZodObject<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; version: z.ZodString; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodArray; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; summary: z.ZodObject<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; version: z.ZodString; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodArray; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; type: z.ZodEnum<["change", "spec"]>; valid: z.ZodBoolean; issues: z.ZodArray; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ level: z.ZodEnum<["ERROR", "WARNING", "INFO"]>; path: z.ZodString; message: z.ZodString; line: z.ZodOptional; column: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; durationMs: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>, "many">; summary: z.ZodObject<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ totals: z.ZodObject<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>; byType: z.ZodRecord, z.objectInputType<{ items: z.ZodNumber; passed: z.ZodNumber; failed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; version: z.ZodString; root: z.ZodObject<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ status: z.ZodArray; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>]>; /** Typed Archive result without inferred retry or readiness semantics. */ declare const CliArchiveSchema: z.ZodObject<{ archive: z.ZodNullable, z.objectInputType<{ added: z.ZodNumber; modified: z.ZodNumber; removed: z.ZodNumber; renamed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */ warnings: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ change: z.ZodString; archivedAs: z.ZodString; path: z.ZodString; specsUpdated: z.ZodBoolean; totals: z.ZodOptional, z.objectInputType<{ added: z.ZodNumber; modified: z.ZodNumber; removed: z.ZodNumber; renamed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */ warnings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ change: z.ZodString; archivedAs: z.ZodString; path: z.ZodString; specsUpdated: z.ZodBoolean; totals: z.ZodOptional, z.objectInputType<{ added: z.ZodNumber; modified: z.ZodNumber; removed: z.ZodNumber; renamed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */ warnings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; root: z.ZodOptional; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ archive: z.ZodNullable, z.objectInputType<{ added: z.ZodNumber; modified: z.ZodNumber; removed: z.ZodNumber; renamed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */ warnings: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ change: z.ZodString; archivedAs: z.ZodString; path: z.ZodString; specsUpdated: z.ZodBoolean; totals: z.ZodOptional, z.objectInputType<{ added: z.ZodNumber; modified: z.ZodNumber; removed: z.ZodNumber; renamed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */ warnings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ change: z.ZodString; archivedAs: z.ZodString; path: z.ZodString; specsUpdated: z.ZodBoolean; totals: z.ZodOptional, z.objectInputType<{ added: z.ZodNumber; modified: z.ZodNumber; removed: z.ZodNumber; renamed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */ warnings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; root: z.ZodOptional; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ archive: z.ZodNullable, z.objectInputType<{ added: z.ZodNumber; modified: z.ZodNumber; removed: z.ZodNumber; renamed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */ warnings: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ change: z.ZodString; archivedAs: z.ZodString; path: z.ZodString; specsUpdated: z.ZodBoolean; totals: z.ZodOptional, z.objectInputType<{ added: z.ZodNumber; modified: z.ZodNumber; removed: z.ZodNumber; renamed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */ warnings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ change: z.ZodString; archivedAs: z.ZodString; path: z.ZodString; specsUpdated: z.ZodBoolean; totals: z.ZodOptional, z.objectInputType<{ added: z.ZodNumber; modified: z.ZodNumber; removed: z.ZodNumber; renamed: z.ZodNumber; }, z.ZodTypeAny, "passthrough">>>; /** Upstream spec-rebuild warnings, including retirement and scenario-loss notices. */ warnings: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; root: z.ZodOptional; store_id: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; source: z.ZodEnum<["store", "declared", "nearest", "global_default", "implicit"]>; store_id: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; status: z.ZodOptional; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ severity: z.ZodEnum<["error", "warning", "info"]>; code: z.ZodString; message: z.ZodString; target: z.ZodOptional; fix: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, z.ZodTypeAny, "passthrough">>; /** One CLI-reported Change row: task counts and phase straight from `openspec list`. */ type CliChangeListEntry = z.infer; type CliChangeList = z.infer; type CliSpecList = z.infer; type CliSchemaWhich = z.infer; type CliTemplates = z.infer; type CliShowSpec = z.infer; type CliWorkflowStatus = z.infer; type CliArtifactInstructions = z.infer; type CliApplyInstructions = z.infer; type CliArchiveInstructions = z.infer; type CliValidate = z.infer; type CliValidateReport = z.infer; type CliArchive = z.infer; //#endregion //#region src/cli-contracts/executor.d.ts /** Root selection arguments shared by root-aware OpenSpec CLI commands. */ interface CliRootSelector { /** Explicit Store selector. Presence is significant; the CLI validates empty values. */ store?: string; } /** Workflow Status/Instructions selectors passed through to the official CLI. */ interface CliWorkflowOptions extends CliRootSelector { /** Explicit workflow schema selector passed to the official CLI. */ schema?: string; } /** Options for creating a Store through the official CLI. */ interface CliStoreSetupOptions { /** Filesystem path where the official CLI creates the Store. */ path: string; /** Whether the official CLI initializes Git for the Store. */ initGit?: boolean; /** Optional remote recorded by the official CLI. */ remote?: string; } /** Options for registering an existing Store through the official CLI. */ interface CliStoreRegisterOptions { /** Optional Store identity override validated by the official CLI. */ id?: string; /** Confirm a Store identity mismatch through the official CLI. */ confirmIdentity?: boolean; } /** Options for removing a Store through the official CLI. */ interface CliStoreRemoveOptions { /** Confirm destructive Store checkout deletion through the official CLI. */ confirmDelete?: boolean; } /** Validate target expressed without reconstructing CLI positional arguments at call sites. */ type CliValidateTarget = { kind: 'item'; id: string; type?: 'change' | 'spec'; } | { kind: 'scope'; scope: 'all' | 'changes' | 'specs'; } /** OpenSpec 1.9 archived-task validation over the resolved root's archive. */ | { kind: 'archived'; }; /** JSON Validate options, including explicit target and root selection. */ interface CliValidateJsonOptions extends CliRootSelector { target: CliValidateTarget; strict?: boolean; } type ExecuteCli = (args: string[]) => Promise; /** Typed OpenSpec 1.6 command facade over the raw process executor. */ declare class OpenSpecCliContractExecutor { private readonly executeCli; constructor(executeCli: ExecuteCli); private execute; private withRoot; private withWorkflowOptions; /** List changes in the CLI-selected planning root. */ listChanges(selector?: CliRootSelector): Promise>; /** List owned or explicitly selected Store Specs through the official CLI. */ listSpecs(selector?: CliRootSelector): Promise>; /** Read one owned or explicitly selected Store Spec through the official CLI. */ showSpec(specId: string, selector?: CliRootSelector): Promise>; /** List workflow schemas through the CLI JSON contract with the selected Root's Store selector. */ schemas(selector?: CliRootSelector): Promise>; /** Resolve one workflow schema through the CLI JSON contract. */ schemaWhich(name: string): Promise>; /** List the resolved template index through the CLI JSON contract. */ templates(schema?: string): Promise>; /** Read complete workflow Status evidence for one change. */ workflowStatus(changeId: string, options?: CliWorkflowOptions): Promise>; /** Read complete Instructions evidence for one workflow artifact. */ artifactInstructions(changeId: string, artifactId: string, options?: CliWorkflowOptions): Promise>; /** Read complete Apply Instructions evidence for one change. */ applyInstructions(changeId: string, options?: CliWorkflowOptions): Promise>; /** Read complete Archive Instructions evidence for one change. */ archiveInstructions(changeId: string, options?: CliWorkflowOptions): Promise>; /** Inspect selected-root, Store, and Reference health through CLI Doctor. */ doctorRoot(selector?: CliRootSelector): Promise>; /** Read the selected root and its direct Reference relationships. */ context(selector?: CliRootSelector): Promise>; /** List Stores registered in the effective OpenSpec runtime environment. */ listStores(): Promise>; /** Inspect all Stores or one explicitly present Store id. */ doctorStores(id?: string): Promise>; /** Create and register a Store through the official CLI. */ setupStore(id: string, options: CliStoreSetupOptions): Promise>; /** Register an existing Store root through the official CLI. */ registerStore(path: string, options?: CliStoreRegisterOptions): Promise>; /** Remove one Store registry entry without deleting its checkout. */ unregisterStore(id: string): Promise>; /** Remove one Store through the official CLI destructive boundary. */ removeStore(id: string, options?: CliStoreRemoveOptions): Promise>; /** Validate an item, scope, or the archive without inferring retries or readiness. */ validate(options: CliValidateJsonOptions): Promise>; /** Archive one change without implicit validation bypass or retry. */ archive(changeId: string, options?: CliRootSelector & { skipSpecs?: boolean; noValidate?: boolean; }): Promise>; } //#endregion export { CliDiagnosticFailureSchema as $, CliWorkflowStatusSchema as A, OpenSpecUIConfigSchema as At, CliStoreDoctorEntrySchema as B, TerminalRendererEngineSchema as Bt, CliSpecList as C, DashboardConfig as Ct, CliValidateReportSchema as D, OPSX_AGENT_INVOCATION_MODE_VALUES as Dt, CliValidateReport as E, GitConfigSchema as Et, CliStore as F, OpsxConfigSchema as Ft, CliStoreMutationSchema as G, buildCliRunnerCandidates as Gt, CliStoreList as H, TerminalThemeMode as Ht, CliStoreCleanup as I, ResolvedCliRunner as It, CliCommandTransportSchema as J, getDefaultCliCommandString as Jt, CliStoreSchema as K, createCleanCliEnv as Kt, CliStoreCleanupSchema as L, TerminalConfig as Lt, CliContextSchema as M, OpsxAgentInvocationMode as Mt, CliDoctor as N, OpsxAgentInvocationModeSchema as Nt, CliValidateSchema as O, OpenSpecUIConfig as Ot, CliDoctorSchema as P, OpsxConfig as Pt, CliDiagnosticFailure as Q, CliStoreDoctor as R, TerminalConfigSchema as Rt, CliShowSpecSchema as S, DEFAULT_GIT_DIFF_EAGER_LINE_BUDGET as St, CliValidate as T, GitConfig as Tt, CliStoreListSchema as U, TerminalThemeModeSchema as Ut, CliStoreDoctorSchema as V, TerminalThemeId as Vt, CliStoreMutation as W, TerminalThemeSchema as Wt, parseCliCommandResult as X, parseCliCommand as Xt, CliJsonValue as Y, isTerminalRendererEngine as Yt, CliDiagnostic as Z, sniffGlobalCli as Zt, CliChangeList as _, CliSniffResult as _t, CliValidateJsonOptions as a, CliRoot as at, CliShowSpec as b, ConfigManager as bt, OpenSpecCliContractExecutor as c, CliRootSourceSchema as ct, CliArchive as d, CliStreamEvent as dt, CliDiagnosticSchema as et, CliArchiveInstructions as f, CliStreamHandle as ft, CliArtifactInstructionsSchema as g, CliRunnerAttempt as gt, CliArtifactInstructions as h, CODE_EDITOR_THEME_VALUES as ht, CliStoreSetupOptions as i, CliReferenceIndexEntrySchema as it, CliContext as j, OpenSpecUIConfigUpdate as jt, CliWorkflowStatus as k, OpenSpecUIConfigPresence as kt, CliApplyInstructions as l, CliExecutor as lt, CliArchiveSchema as m, CliStreamTerminationError as mt, CliStoreRegisterOptions as n, CliDoctorReferenceEntrySchema as nt, CliValidateTarget as o, CliRootSchema as ot, CliArchiveInstructionsSchema as p, CliStreamSettlement as pt, CliCommandResult as q, getDefaultCliCommand as qt, CliStoreRemoveOptions as r, CliReferenceIndexEntry as rt, CliWorkflowOptions as s, CliRootSource as st, CliRootSelector as t, CliDoctorReferenceEntry as tt, CliApplyInstructionsSchema as u, CliResult as ut, CliChangeListEntry as v, CodeEditorTheme as vt, CliSpecListSchema as w, DashboardConfigSchema as wt, CliShowSpecDocumentSchema as x, DEFAULT_CONFIG as xt, CliChangeListSchema as y, CodeEditorThemeSchema as yt, CliStoreDoctorEntry as z, TerminalRendererEngine as zt };