import { z } from 'zod'; declare const AgentCorpusConfigSchema: z.ZodObject<{ root: z.ZodString; index: z.ZodOptional; include: z.ZodOptional>; exclude: z.ZodOptional>; okf: z.ZodOptional; allowedTypes: z.ZodOptional>; }, "strict", z.ZodTypeAny, { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; }, { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; }>>; }, "strict", z.ZodTypeAny, { root: string; index?: string | undefined; include?: string[] | undefined; exclude?: string[] | undefined; okf?: { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; } | undefined; }, { root: string; index?: string | undefined; include?: string[] | undefined; exclude?: string[] | undefined; okf?: { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; } | undefined; }>; declare const HumanCorpusConfigSchema: z.ZodObject<{ plugin: z.ZodEnum<["plain-markdown", "fumadocs", "docusaurus", "mkdocs", "vitepress", "starlight", "nextra", "custom"]>; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }, { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }>; declare const EcosystemContractEvidenceSchema: z.ZodObject<{ manifest: z.ZodString; claims: z.ZodString; productId: z.ZodString; }, "strict", z.ZodTypeAny, { manifest: string; claims: string; productId: string; }, { manifest: string; claims: string; productId: string; }>; declare const DocumentationStandardRuleIdSchema: z.ZodEnum<["human-docs", "llms-and-raw-source", "agent-handoffs", "contribution", "metadata", "cross-links", "tested-quickstarts", "visual-explanations", "structured-diagrams"]>; declare const DocumentationStandardV1ConfigSchema: z.ZodEffects>; contributionPaths: z.ZodOptional>; metadata: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; contains: string[]; }, { path: string; contains: string[]; }>, "many">>; links: z.ZodOptional; }, "strict", z.ZodTypeAny, { paths: string[]; url: string; }, { paths: string[]; url: string; }>, "many">>; quickstarts: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; doc: string; test: string; command: string; testContains: string[]; }, { id: string; doc: string; test: string; command: string; testContains: string[]; }>, "many">>; visuals: z.ZodOptional>; diagrams: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; contains: string[]; }, { path: string; contains: string[]; }>, "many">>; ecosystemContract: z.ZodOptional>; exceptions: z.ZodOptional; reason: z.ZodString; approvedBy: z.ZodString; trackingUrl: z.ZodString; }, "strict", z.ZodTypeAny, { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }, { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }>, "many">>; }, "strict", z.ZodTypeAny, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }>, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }>; declare const ConformanceConfigSchema: z.ZodObject<{ documentationStandardV1: z.ZodOptional>; contributionPaths: z.ZodOptional>; metadata: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; contains: string[]; }, { path: string; contains: string[]; }>, "many">>; links: z.ZodOptional; }, "strict", z.ZodTypeAny, { paths: string[]; url: string; }, { paths: string[]; url: string; }>, "many">>; quickstarts: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; doc: string; test: string; command: string; testContains: string[]; }, { id: string; doc: string; test: string; command: string; testContains: string[]; }>, "many">>; visuals: z.ZodOptional>; diagrams: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; contains: string[]; }, { path: string; contains: string[]; }>, "many">>; ecosystemContract: z.ZodOptional>; exceptions: z.ZodOptional; reason: z.ZodString; approvedBy: z.ZodString; trackingUrl: z.ZodString; }, "strict", z.ZodTypeAny, { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }, { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }>, "many">>; }, "strict", z.ZodTypeAny, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }>, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { documentationStandardV1?: { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; } | undefined; }, { documentationStandardV1?: { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; } | undefined; }>; declare const DocBridgeConfigV1Schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; project: z.ZodOptional; root: z.ZodOptional; }, "strict", z.ZodTypeAny, { root?: string | undefined; name?: string | undefined; }, { root?: string | undefined; name?: string | undefined; }>>; corpus: z.ZodObject<{ agent: z.ZodObject<{ root: z.ZodString; index: z.ZodOptional; include: z.ZodOptional>; exclude: z.ZodOptional>; okf: z.ZodOptional; allowedTypes: z.ZodOptional>; }, "strict", z.ZodTypeAny, { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; }, { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; }>>; }, "strict", z.ZodTypeAny, { root: string; index?: string | undefined; include?: string[] | undefined; exclude?: string[] | undefined; okf?: { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; } | undefined; }, { root: string; index?: string | undefined; include?: string[] | undefined; exclude?: string[] | undefined; okf?: { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; } | undefined; }>; human: z.ZodOptional; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }, { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }>, z.ZodArray; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }, { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }>, "many">]>>; }, "strict", z.ZodTypeAny, { agent: { root: string; index?: string | undefined; include?: string[] | undefined; exclude?: string[] | undefined; okf?: { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; } | undefined; }; human?: { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; } | { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }[] | undefined; }, { agent: { root: string; index?: string | undefined; include?: string[] | undefined; exclude?: string[] | undefined; okf?: { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; } | undefined; }; human?: { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; } | { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }[] | undefined; }>; index: z.ZodOptional; llmsTxt: z.ZodOptional; outFile: z.ZodOptional; preamble: z.ZodOptional; }, "strict", z.ZodTypeAny, { outFile?: string | undefined; enabled?: boolean | undefined; preamble?: string | undefined; }, { outFile?: string | undefined; enabled?: boolean | undefined; preamble?: string | undefined; }>>; capabilities: z.ZodOptional; outFile: z.ZodOptional; }, "strict", z.ZodTypeAny, { outFile?: string | undefined; enabled?: boolean | undefined; }, { outFile?: string | undefined; enabled?: boolean | undefined; }>>; contentHash: z.ZodOptional>; }, "strict", z.ZodTypeAny, { outFile?: string | undefined; llmsTxt?: { outFile?: string | undefined; enabled?: boolean | undefined; preamble?: string | undefined; } | undefined; capabilities?: { outFile?: string | undefined; enabled?: boolean | undefined; } | undefined; contentHash?: "sha256-normalized-v1" | undefined; }, { outFile?: string | undefined; llmsTxt?: { outFile?: string | undefined; enabled?: boolean | undefined; preamble?: string | undefined; } | undefined; capabilities?: { outFile?: string | undefined; enabled?: boolean | undefined; } | undefined; contentHash?: "sha256-normalized-v1" | undefined; }>>; routing: z.ZodOptional>; options: z.ZodOptional>; /** Infer ownership from corpus paths/frontmatter (default true). */ ownershipFromCorpus: z.ZodOptional; ownership: z.ZodOptional; layer: z.ZodOptional; purpose: z.ZodOptional; checks: z.ZodOptional>; agentDoc: z.ZodOptional; humanDoc: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; group?: string | undefined; layer?: string | undefined; purpose?: string | undefined; checks?: string[] | undefined; agentDoc?: string | undefined; humanDoc?: string | undefined; }, { path: string; group?: string | undefined; layer?: string | undefined; purpose?: string | undefined; checks?: string[] | undefined; agentDoc?: string | undefined; humanDoc?: string | undefined; }>>>; intents: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; title: string; paths: string[]; }, { id: string; title: string; paths: string[]; }>, "many">>; changes: z.ZodOptional>; }, "strict", z.ZodTypeAny, { id: string; title: string; startHere: string; relatedPackages?: string[] | undefined; }, { id: string; title: string; startHere: string; relatedPackages?: string[] | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { packages?: string[] | undefined; ownershipFromCorpus?: boolean | undefined; ownership?: Record | undefined; intents?: { id: string; title: string; paths: string[]; }[] | undefined; changes?: { id: string; title: string; startHere: string; relatedPackages?: string[] | undefined; }[] | undefined; }, { packages?: string[] | undefined; ownershipFromCorpus?: boolean | undefined; ownership?: Record | undefined; intents?: { id: string; title: string; paths: string[]; }[] | undefined; changes?: { id: string; title: string; startHere: string; relatedPackages?: string[] | undefined; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { options?: { packages?: string[] | undefined; ownershipFromCorpus?: boolean | undefined; ownership?: Record | undefined; intents?: { id: string; title: string; paths: string[]; }[] | undefined; changes?: { id: string; title: string; startHere: string; relatedPackages?: string[] | undefined; }[] | undefined; } | undefined; plugin?: "custom" | "pnpm-monorepo" | "npm-workspaces" | "yarn-workspaces" | "nx" | "pattern-files" | undefined; }, { options?: { packages?: string[] | undefined; ownershipFromCorpus?: boolean | undefined; ownership?: Record | undefined; intents?: { id: string; title: string; paths: string[]; }[] | undefined; changes?: { id: string; title: string; startHere: string; relatedPackages?: string[] | undefined; }[] | undefined; } | undefined; plugin?: "custom" | "pnpm-monorepo" | "npm-workspaces" | "yarn-workspaces" | "nx" | "pattern-files" | undefined; }>>; gates: z.ZodOptional>; include: z.ZodOptional, "many">>; exclude: z.ZodOptional, "many">>; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { options?: Record | undefined; include?: ("index-freshness" | "human-guide-links" | "link-rot" | "okf-type" | "docs-style" | "routing-currency" | "bootstrap-size" | "documentation-standard-v1")[] | undefined; exclude?: ("index-freshness" | "human-guide-links" | "link-rot" | "okf-type" | "docs-style" | "routing-currency" | "bootstrap-size" | "documentation-standard-v1")[] | undefined; preset?: "strict" | "minimal" | "standard" | "playbook" | undefined; }, { options?: Record | undefined; include?: ("index-freshness" | "human-guide-links" | "link-rot" | "okf-type" | "docs-style" | "routing-currency" | "bootstrap-size" | "documentation-standard-v1")[] | undefined; exclude?: ("index-freshness" | "human-guide-links" | "link-rot" | "okf-type" | "docs-style" | "routing-currency" | "bootstrap-size" | "documentation-standard-v1")[] | undefined; preset?: "strict" | "minimal" | "standard" | "playbook" | undefined; }>>; surfaces: z.ZodOptional; defaultFormat: z.ZodOptional>; }, "strict", z.ZodTypeAny, { bin?: string | undefined; defaultFormat?: "json" | "text" | undefined; }, { bin?: string | undefined; defaultFormat?: "json" | "text" | undefined; }>>; mcp: z.ZodOptional; tools: z.ZodOptional, "many">>; transport: z.ZodOptional>; http: z.ZodOptional; path: z.ZodOptional; }, "strict", z.ZodTypeAny, { path?: string | undefined; port?: number | undefined; }, { path?: string | undefined; port?: number | undefined; }>>; }, "strict", z.ZodTypeAny, { enabled?: boolean | undefined; tools?: ("handoff.resolve" | "doc.search" | "doc.get" | "gate.status" | "playbook.pattern.get" | "retriever.query" | "memory.classify" | "memory.promoteDraft" | "registry.topology")[] | undefined; http?: { path?: string | undefined; port?: number | undefined; } | undefined; transport?: "stdio" | "http" | undefined; }, { enabled?: boolean | undefined; tools?: ("handoff.resolve" | "doc.search" | "doc.get" | "gate.status" | "playbook.pattern.get" | "retriever.query" | "memory.classify" | "memory.promoteDraft" | "registry.topology")[] | undefined; http?: { path?: string | undefined; port?: number | undefined; } | undefined; transport?: "stdio" | "http" | undefined; }>>; }, "strict", z.ZodTypeAny, { cli?: { bin?: string | undefined; defaultFormat?: "json" | "text" | undefined; } | undefined; mcp?: { enabled?: boolean | undefined; tools?: ("handoff.resolve" | "doc.search" | "doc.get" | "gate.status" | "playbook.pattern.get" | "retriever.query" | "memory.classify" | "memory.promoteDraft" | "registry.topology")[] | undefined; http?: { path?: string | undefined; port?: number | undefined; } | undefined; transport?: "stdio" | "http" | undefined; } | undefined; }, { cli?: { bin?: string | undefined; defaultFormat?: "json" | "text" | undefined; } | undefined; mcp?: { enabled?: boolean | undefined; tools?: ("handoff.resolve" | "doc.search" | "doc.get" | "gate.status" | "playbook.pattern.get" | "retriever.query" | "memory.classify" | "memory.promoteDraft" | "registry.topology")[] | undefined; http?: { path?: string | undefined; port?: number | undefined; } | undefined; transport?: "stdio" | "http" | undefined; } | undefined; }>>; intelligence: z.ZodOptional; adapter: z.ZodOptional; model: z.ZodOptional; apiKeyEnv: z.ZodOptional; baseUrl: z.ZodOptional; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { provider: "custom" | "openai" | "anthropic" | "ollama" | "openrouter"; options?: Record | undefined; model?: string | undefined; apiKeyEnv?: string | undefined; baseUrl?: string | undefined; }, { provider: "custom" | "openai" | "anthropic" | "ollama" | "openrouter"; options?: Record | undefined; model?: string | undefined; apiKeyEnv?: string | undefined; baseUrl?: string | undefined; }>>; chat: z.ZodOptional; sources: z.ZodOptional, "many">>; handoffFirst: z.ZodOptional; }, "strict", z.ZodTypeAny, { enabled?: boolean | undefined; sources?: ("agent" | "human" | "federation")[] | undefined; handoffFirst?: boolean | undefined; }, { enabled?: boolean | undefined; sources?: ("agent" | "human" | "federation")[] | undefined; handoffFirst?: boolean | undefined; }>>; retriever: z.ZodOptional; mode: z.ZodOptional>; embedModel: z.ZodOptional; chunkSize: z.ZodOptional; options: z.ZodOptional>; }, "strict", z.ZodTypeAny, { options?: Record | undefined; enabled?: boolean | undefined; mode?: "local" | "remote" | "bm25" | "agentskit-rag" | undefined; embedModel?: string | undefined; chunkSize?: number | undefined; }, { options?: Record | undefined; enabled?: boolean | undefined; mode?: "local" | "remote" | "bm25" | "agentskit-rag" | undefined; embedModel?: string | undefined; chunkSize?: number | undefined; }>>; memory: z.ZodOptional; adapters: z.ZodOptional, "many">>; ingestDir: z.ZodOptional; classify: z.ZodOptional; promote: z.ZodOptional; targets: z.ZodOptional, "many">>; requireApproval: z.ZodOptional; }, "strict", z.ZodTypeAny, { enabled?: boolean | undefined; targets?: ("agent" | "human" | "agents-md")[] | undefined; requireApproval?: boolean | undefined; }, { enabled?: boolean | undefined; targets?: ("agent" | "human" | "agents-md")[] | undefined; requireApproval?: boolean | undefined; }>>; }, "strict", z.ZodTypeAny, { enabled?: boolean | undefined; adapters?: ("playbook-memory" | "cursor-rules" | "session-export" | "bootstrap-delta")[] | undefined; ingestDir?: string | undefined; classify?: boolean | undefined; promote?: { enabled?: boolean | undefined; targets?: ("agent" | "human" | "agents-md")[] | undefined; requireApproval?: boolean | undefined; } | undefined; }, { enabled?: boolean | undefined; adapters?: ("playbook-memory" | "cursor-rules" | "session-export" | "bootstrap-delta")[] | undefined; ingestDir?: string | undefined; classify?: boolean | undefined; promote?: { enabled?: boolean | undefined; targets?: ("agent" | "human" | "agents-md")[] | undefined; requireApproval?: boolean | undefined; } | undefined; }>>; runtime: z.ZodOptional>; runtimeModule: z.ZodOptional; }, "strict", z.ZodTypeAny, { enabled?: boolean | undefined; adapter?: { provider: "custom" | "openai" | "anthropic" | "ollama" | "openrouter"; options?: Record | undefined; model?: string | undefined; apiKeyEnv?: string | undefined; baseUrl?: string | undefined; } | undefined; chat?: { enabled?: boolean | undefined; sources?: ("agent" | "human" | "federation")[] | undefined; handoffFirst?: boolean | undefined; } | undefined; retriever?: { options?: Record | undefined; enabled?: boolean | undefined; mode?: "local" | "remote" | "bm25" | "agentskit-rag" | undefined; embedModel?: string | undefined; chunkSize?: number | undefined; } | undefined; memory?: { enabled?: boolean | undefined; adapters?: ("playbook-memory" | "cursor-rules" | "session-export" | "bootstrap-delta")[] | undefined; ingestDir?: string | undefined; classify?: boolean | undefined; promote?: { enabled?: boolean | undefined; targets?: ("agent" | "human" | "agents-md")[] | undefined; requireApproval?: boolean | undefined; } | undefined; } | undefined; runtime?: "custom" | "agentskit" | undefined; runtimeModule?: string | undefined; }, { enabled?: boolean | undefined; adapter?: { provider: "custom" | "openai" | "anthropic" | "ollama" | "openrouter"; options?: Record | undefined; model?: string | undefined; apiKeyEnv?: string | undefined; baseUrl?: string | undefined; } | undefined; chat?: { enabled?: boolean | undefined; sources?: ("agent" | "human" | "federation")[] | undefined; handoffFirst?: boolean | undefined; } | undefined; retriever?: { options?: Record | undefined; enabled?: boolean | undefined; mode?: "local" | "remote" | "bm25" | "agentskit-rag" | undefined; embedModel?: string | undefined; chunkSize?: number | undefined; } | undefined; memory?: { enabled?: boolean | undefined; adapters?: ("playbook-memory" | "cursor-rules" | "session-export" | "bootstrap-delta")[] | undefined; ingestDir?: string | undefined; classify?: boolean | undefined; promote?: { enabled?: boolean | undefined; targets?: ("agent" | "human" | "agents-md")[] | undefined; requireApproval?: boolean | undefined; } | undefined; } | undefined; runtime?: "custom" | "agentskit" | undefined; runtimeModule?: string | undefined; }>>; federation: z.ZodOptional; sources: z.ZodOptional; rawBaseUrl: z.ZodOptional; includeInRetriever: z.ZodOptional; includeInChat: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; llmsTxt?: string | undefined; rawBaseUrl?: string | undefined; includeInRetriever?: boolean | undefined; includeInChat?: boolean | undefined; }, { id: string; llmsTxt?: string | undefined; rawBaseUrl?: string | undefined; includeInRetriever?: boolean | undefined; includeInChat?: boolean | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { enabled?: boolean | undefined; sources?: { id: string; llmsTxt?: string | undefined; rawBaseUrl?: string | undefined; includeInRetriever?: boolean | undefined; includeInChat?: boolean | undefined; }[] | undefined; }, { enabled?: boolean | undefined; sources?: { id: string; llmsTxt?: string | undefined; rawBaseUrl?: string | undefined; includeInRetriever?: boolean | undefined; includeInChat?: boolean | undefined; }[] | undefined; }>>; conformance: z.ZodOptional>; contributionPaths: z.ZodOptional>; metadata: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; contains: string[]; }, { path: string; contains: string[]; }>, "many">>; links: z.ZodOptional; }, "strict", z.ZodTypeAny, { paths: string[]; url: string; }, { paths: string[]; url: string; }>, "many">>; quickstarts: z.ZodOptional; }, "strict", z.ZodTypeAny, { id: string; doc: string; test: string; command: string; testContains: string[]; }, { id: string; doc: string; test: string; command: string; testContains: string[]; }>, "many">>; visuals: z.ZodOptional>; diagrams: z.ZodOptional; }, "strict", z.ZodTypeAny, { path: string; contains: string[]; }, { path: string; contains: string[]; }>, "many">>; ecosystemContract: z.ZodOptional>; exceptions: z.ZodOptional; reason: z.ZodString; approvedBy: z.ZodString; trackingUrl: z.ZodString; }, "strict", z.ZodTypeAny, { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }, { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }>, "many">>; }, "strict", z.ZodTypeAny, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }>, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }, { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; }>>; }, "strict", z.ZodTypeAny, { documentationStandardV1?: { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; } | undefined; }, { documentationStandardV1?: { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; } | undefined; }>>; }, "strict", z.ZodTypeAny, { schemaVersion: 1; corpus: { agent: { root: string; index?: string | undefined; include?: string[] | undefined; exclude?: string[] | undefined; okf?: { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; } | undefined; }; human?: { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; } | { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }[] | undefined; }; index?: { outFile?: string | undefined; llmsTxt?: { outFile?: string | undefined; enabled?: boolean | undefined; preamble?: string | undefined; } | undefined; capabilities?: { outFile?: string | undefined; enabled?: boolean | undefined; } | undefined; contentHash?: "sha256-normalized-v1" | undefined; } | undefined; federation?: { enabled?: boolean | undefined; sources?: { id: string; llmsTxt?: string | undefined; rawBaseUrl?: string | undefined; includeInRetriever?: boolean | undefined; includeInChat?: boolean | undefined; }[] | undefined; } | undefined; project?: { root?: string | undefined; name?: string | undefined; } | undefined; routing?: { options?: { packages?: string[] | undefined; ownershipFromCorpus?: boolean | undefined; ownership?: Record | undefined; intents?: { id: string; title: string; paths: string[]; }[] | undefined; changes?: { id: string; title: string; startHere: string; relatedPackages?: string[] | undefined; }[] | undefined; } | undefined; plugin?: "custom" | "pnpm-monorepo" | "npm-workspaces" | "yarn-workspaces" | "nx" | "pattern-files" | undefined; } | undefined; gates?: { options?: Record | undefined; include?: ("index-freshness" | "human-guide-links" | "link-rot" | "okf-type" | "docs-style" | "routing-currency" | "bootstrap-size" | "documentation-standard-v1")[] | undefined; exclude?: ("index-freshness" | "human-guide-links" | "link-rot" | "okf-type" | "docs-style" | "routing-currency" | "bootstrap-size" | "documentation-standard-v1")[] | undefined; preset?: "strict" | "minimal" | "standard" | "playbook" | undefined; } | undefined; surfaces?: { cli?: { bin?: string | undefined; defaultFormat?: "json" | "text" | undefined; } | undefined; mcp?: { enabled?: boolean | undefined; tools?: ("handoff.resolve" | "doc.search" | "doc.get" | "gate.status" | "playbook.pattern.get" | "retriever.query" | "memory.classify" | "memory.promoteDraft" | "registry.topology")[] | undefined; http?: { path?: string | undefined; port?: number | undefined; } | undefined; transport?: "stdio" | "http" | undefined; } | undefined; } | undefined; intelligence?: { enabled?: boolean | undefined; adapter?: { provider: "custom" | "openai" | "anthropic" | "ollama" | "openrouter"; options?: Record | undefined; model?: string | undefined; apiKeyEnv?: string | undefined; baseUrl?: string | undefined; } | undefined; chat?: { enabled?: boolean | undefined; sources?: ("agent" | "human" | "federation")[] | undefined; handoffFirst?: boolean | undefined; } | undefined; retriever?: { options?: Record | undefined; enabled?: boolean | undefined; mode?: "local" | "remote" | "bm25" | "agentskit-rag" | undefined; embedModel?: string | undefined; chunkSize?: number | undefined; } | undefined; memory?: { enabled?: boolean | undefined; adapters?: ("playbook-memory" | "cursor-rules" | "session-export" | "bootstrap-delta")[] | undefined; ingestDir?: string | undefined; classify?: boolean | undefined; promote?: { enabled?: boolean | undefined; targets?: ("agent" | "human" | "agents-md")[] | undefined; requireApproval?: boolean | undefined; } | undefined; } | undefined; runtime?: "custom" | "agentskit" | undefined; runtimeModule?: string | undefined; } | undefined; conformance?: { documentationStandardV1?: { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; } | undefined; } | undefined; }, { schemaVersion: 1; corpus: { agent: { root: string; index?: string | undefined; include?: string[] | undefined; exclude?: string[] | undefined; okf?: { requireType?: boolean | undefined; allowedTypes?: string[] | undefined; } | undefined; }; human?: { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; } | { plugin: "plain-markdown" | "fumadocs" | "docusaurus" | "mkdocs" | "vitepress" | "starlight" | "nextra" | "custom"; options?: Record | undefined; }[] | undefined; }; index?: { outFile?: string | undefined; llmsTxt?: { outFile?: string | undefined; enabled?: boolean | undefined; preamble?: string | undefined; } | undefined; capabilities?: { outFile?: string | undefined; enabled?: boolean | undefined; } | undefined; contentHash?: "sha256-normalized-v1" | undefined; } | undefined; federation?: { enabled?: boolean | undefined; sources?: { id: string; llmsTxt?: string | undefined; rawBaseUrl?: string | undefined; includeInRetriever?: boolean | undefined; includeInChat?: boolean | undefined; }[] | undefined; } | undefined; project?: { root?: string | undefined; name?: string | undefined; } | undefined; routing?: { options?: { packages?: string[] | undefined; ownershipFromCorpus?: boolean | undefined; ownership?: Record | undefined; intents?: { id: string; title: string; paths: string[]; }[] | undefined; changes?: { id: string; title: string; startHere: string; relatedPackages?: string[] | undefined; }[] | undefined; } | undefined; plugin?: "custom" | "pnpm-monorepo" | "npm-workspaces" | "yarn-workspaces" | "nx" | "pattern-files" | undefined; } | undefined; gates?: { options?: Record | undefined; include?: ("index-freshness" | "human-guide-links" | "link-rot" | "okf-type" | "docs-style" | "routing-currency" | "bootstrap-size" | "documentation-standard-v1")[] | undefined; exclude?: ("index-freshness" | "human-guide-links" | "link-rot" | "okf-type" | "docs-style" | "routing-currency" | "bootstrap-size" | "documentation-standard-v1")[] | undefined; preset?: "strict" | "minimal" | "standard" | "playbook" | undefined; } | undefined; surfaces?: { cli?: { bin?: string | undefined; defaultFormat?: "json" | "text" | undefined; } | undefined; mcp?: { enabled?: boolean | undefined; tools?: ("handoff.resolve" | "doc.search" | "doc.get" | "gate.status" | "playbook.pattern.get" | "retriever.query" | "memory.classify" | "memory.promoteDraft" | "registry.topology")[] | undefined; http?: { path?: string | undefined; port?: number | undefined; } | undefined; transport?: "stdio" | "http" | undefined; } | undefined; } | undefined; intelligence?: { enabled?: boolean | undefined; adapter?: { provider: "custom" | "openai" | "anthropic" | "ollama" | "openrouter"; options?: Record | undefined; model?: string | undefined; apiKeyEnv?: string | undefined; baseUrl?: string | undefined; } | undefined; chat?: { enabled?: boolean | undefined; sources?: ("agent" | "human" | "federation")[] | undefined; handoffFirst?: boolean | undefined; } | undefined; retriever?: { options?: Record | undefined; enabled?: boolean | undefined; mode?: "local" | "remote" | "bm25" | "agentskit-rag" | undefined; embedModel?: string | undefined; chunkSize?: number | undefined; } | undefined; memory?: { enabled?: boolean | undefined; adapters?: ("playbook-memory" | "cursor-rules" | "session-export" | "bootstrap-delta")[] | undefined; ingestDir?: string | undefined; classify?: boolean | undefined; promote?: { enabled?: boolean | undefined; targets?: ("agent" | "human" | "agents-md")[] | undefined; requireApproval?: boolean | undefined; } | undefined; } | undefined; runtime?: "custom" | "agentskit" | undefined; runtimeModule?: string | undefined; } | undefined; conformance?: { documentationStandardV1?: { metadata?: { path: string; contains: string[]; }[] | undefined; rawSources?: string[] | undefined; contributionPaths?: string[] | undefined; links?: { paths: string[]; url: string; }[] | undefined; quickstarts?: { id: string; doc: string; test: string; command: string; testContains: string[]; }[] | undefined; visuals?: string[] | undefined; diagrams?: { path: string; contains: string[]; }[] | undefined; ecosystemContract?: { manifest: string; claims: string; productId: string; } | undefined; exceptions?: { ruleId: "human-docs" | "llms-and-raw-source" | "agent-handoffs" | "contribution" | "metadata" | "cross-links" | "tested-quickstarts" | "visual-explanations" | "structured-diagrams"; reason: string; approvedBy: string; trackingUrl: string; }[] | undefined; } | undefined; } | undefined; }>; type DocBridgeConfigV1 = z.infer; type AgentCorpusConfig = z.infer; type DocumentationStandardV1Config = z.infer; type DocumentationStandardRuleId = z.infer; /** Type-safe config helper for `doc-bridge.config.ts`. */ declare const defineConfig: (config: DocBridgeConfigV1) => DocBridgeConfigV1; declare const applyConfigDefaults: (config: DocBridgeConfigV1) => DocBridgeConfigV1; type LoadConfigOptions = { readonly cwd?: string; readonly explicitPath?: string; }; type LoadConfigResult = { readonly config: DocBridgeConfigV1; readonly path: string; }; declare class ConfigNotFoundError extends Error { readonly cwd: string; constructor(cwd: string); } /** v0.1 — static JS/TS config, JSON config files, and package.json#docBridge. */ declare const loadConfig: (opts?: LoadConfigOptions) => LoadConfigResult; declare const resolveProjectRoot: (start?: string) => string; /** Project root for a loaded config file path (directory of the config). */ declare const projectRootFromConfigPath: (configFilePath: string, projectRootField?: string) => string; export { type AgentCorpusConfig as A, ConfigNotFoundError as C, type DocBridgeConfigV1 as D, EcosystemContractEvidenceSchema as E, HumanCorpusConfigSchema as H, type LoadConfigOptions as L, type DocumentationStandardRuleId as a, DocBridgeConfigV1Schema as b, DocumentationStandardRuleIdSchema as c, type DocumentationStandardV1Config as d, DocumentationStandardV1ConfigSchema as e, type LoadConfigResult as f, applyConfigDefaults as g, defineConfig as h, AgentCorpusConfigSchema as i, ConformanceConfigSchema as j, loadConfig as l, projectRootFromConfigPath as p, resolveProjectRoot as r };