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>; }, z.core.$strict>>; }, z.core.$strict>; declare const HumanCorpusConfigSchema: z.ZodObject<{ plugin: z.ZodEnum<{ "plain-markdown": "plain-markdown"; fumadocs: "fumadocs"; docusaurus: "docusaurus"; mkdocs: "mkdocs"; vitepress: "vitepress"; starlight: "starlight"; nextra: "nextra"; custom: "custom"; }>; options: z.ZodOptional>; }, z.core.$strict>; declare const RuleIdSchema: z.ZodEnum<{ ownership: "ownership"; "documentation-quality": "documentation-quality"; "graph-undocumented-relation": "graph-undocumented-relation"; "declared-unobserved-relation": "declared-unobserved-relation"; "unresolved-reference": "unresolved-reference"; "conflicting-declaration": "conflicting-declaration"; "not-analyzed-coverage": "not-analyzed-coverage"; "stale-documentation": "stale-documentation"; "centrality-risk": "centrality-risk"; "critical-path-risk": "critical-path-risk"; freshness: "freshness"; }>; declare const RuleSeveritySchema: z.ZodEnum<{ error: "error"; off: "off"; info: "info"; warn: "warn"; }>; declare const RulesConfigSchema: z.ZodObject<{ mode: z.ZodOptional>; severity: z.ZodOptional & z.core.$partial, z.ZodEnum<{ error: "error"; off: "off"; info: "info"; warn: "warn"; }>>>; ignore: z.ZodOptional>>; criticalEntities: z.ZodOptional>; criticalPaths: z.ZodOptional>; warningThresholds: z.ZodOptional & z.core.$partial, z.ZodNumber>>; }, z.core.$strict>; declare const ReconciliationConfigSchema: z.ZodObject<{ scope: z.ZodOptional>; requiredRelationKinds: z.ZodOptional>; requiredRelationTargets: z.ZodOptional>; includeOrphanedDocuments: z.ZodOptional; }, z.core.$strict>; declare const DocumentationAuditConfigSchema: z.ZodObject<{ criticalPaths: z.ZodOptional>; generatedPaths: z.ZodOptional>; exclude: z.ZodOptional>; minWords: z.ZodOptional; requiredSections: z.ZodOptional>; requireExamples: z.ZodOptional; exactDuplicates: z.ZodOptional; defaultTier: z.ZodOptional>; tierRules: z.ZodOptional; critical: z.ZodOptional; }, z.core.$strict>>>; requiredCriticalMetadata: z.ZodOptional>>; }, z.core.$strict>; declare const WorkflowConfigSchema: z.ZodObject<{ stateDir: z.ZodOptional; }, z.core.$strict>; declare const RepositorySafetyConfigSchema: z.ZodObject<{ exclude: z.ZodOptional>; maxFiles: z.ZodOptional; maxBytes: z.ZodOptional; maxTimeMs: z.ZodOptional; maxMemoryMb: z.ZodOptional; redactSecrets: z.ZodOptional; }, z.core.$strict>; declare const ReportConfigSchema: z.ZodObject<{ privacy: z.ZodOptional>; }, z.core.$strict>; declare const EcosystemContractEvidenceSchema: z.ZodObject<{ manifest: z.ZodString; claims: z.ZodString; productId: z.ZodString; }, z.core.$strict>; declare const DocumentationStandardRuleIdSchema: z.ZodEnum<{ "human-docs": "human-docs"; "llms-and-raw-source": "llms-and-raw-source"; "agent-handoffs": "agent-handoffs"; contribution: "contribution"; metadata: "metadata"; "cross-links": "cross-links"; "tested-quickstarts": "tested-quickstarts"; "visual-explanations": "visual-explanations"; "structured-diagrams": "structured-diagrams"; }>; declare const DocumentationStandardV1ConfigSchema: z.ZodObject<{ rawSources: z.ZodOptional>; contributionPaths: z.ZodOptional>; metadata: z.ZodOptional; }, z.core.$strict>>>; links: z.ZodOptional; }, z.core.$strict>>>; quickstarts: z.ZodOptional; }, z.core.$strict>>>; visuals: z.ZodOptional>; diagrams: z.ZodOptional; }, z.core.$strict>>>; ecosystemContract: z.ZodOptional>; exceptions: z.ZodOptional; reason: z.ZodString; approvedBy: z.ZodString; trackingUrl: z.ZodString; }, z.core.$strict>>>; }, z.core.$strict>; /** * Retrieval tuning. Weights and parameters are configuration rather than code so a repository can * change what its agents find first without a release, and so the change is recorded in the index. */ declare const RetrievalConfigSchema: z.ZodObject<{ corpus: z.ZodOptional; }, z.core.$strict>>; weights: z.ZodOptional>; params: z.ZodOptional; b: z.ZodOptional; }, z.core.$strict>>; benchmark: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>; declare const ConformanceConfigSchema: z.ZodObject<{ documentationStandardV1: z.ZodOptional>; contributionPaths: z.ZodOptional>; metadata: z.ZodOptional; }, z.core.$strict>>>; links: z.ZodOptional; }, z.core.$strict>>>; quickstarts: z.ZodOptional; }, z.core.$strict>>>; visuals: z.ZodOptional>; diagrams: z.ZodOptional; }, z.core.$strict>>>; ecosystemContract: z.ZodOptional>; exceptions: z.ZodOptional; reason: z.ZodString; approvedBy: z.ZodString; trackingUrl: z.ZodString; }, z.core.$strict>>>; }, z.core.$strict>>; }, z.core.$strict>; declare const DocBridgeConfigV1Schema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; project: z.ZodOptional; root: z.ZodOptional; }, z.core.$strict>>; corpus: z.ZodObject<{ agent: z.ZodObject<{ root: z.ZodString; index: z.ZodOptional; include: z.ZodOptional>; exclude: z.ZodOptional>; okf: z.ZodOptional; allowedTypes: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>; human: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>, z.ZodArray; options: z.ZodOptional>; }, z.core.$strict>>]>>; }, z.core.$strict>; index: z.ZodOptional; llmsTxt: z.ZodOptional; outFile: z.ZodOptional; preamble: z.ZodOptional; urlPrefix: z.ZodOptional; pathPrefix: z.ZodOptional; }, z.core.$strict>>; capabilities: z.ZodOptional; outFile: z.ZodOptional; }, z.core.$strict>>; contentHash: z.ZodOptional>; }, z.core.$strict>>; routing: z.ZodOptional>; options: z.ZodOptional>; ownershipFromCorpus: z.ZodOptional; ownership: z.ZodOptional; layer: z.ZodOptional; purpose: z.ZodOptional; checks: z.ZodOptional>; agentDoc: z.ZodOptional; humanDoc: z.ZodOptional; }, z.core.$strict>>>; intents: z.ZodOptional; }, z.core.$strict>>>; changes: z.ZodOptional>; }, z.core.$strict>>>; }, z.core.$strict>>; }, z.core.$strict>>; gates: z.ZodOptional>; include: z.ZodOptional>>; exclude: z.ZodOptional>>; options: z.ZodOptional>; }, z.core.$strict>>; reconciliation: z.ZodOptional>; requiredRelationKinds: z.ZodOptional>; requiredRelationTargets: z.ZodOptional>; includeOrphanedDocuments: z.ZodOptional; }, z.core.$strict>>; audit: z.ZodOptional>; generatedPaths: z.ZodOptional>; exclude: z.ZodOptional>; minWords: z.ZodOptional; requiredSections: z.ZodOptional>; requireExamples: z.ZodOptional; exactDuplicates: z.ZodOptional; defaultTier: z.ZodOptional>; tierRules: z.ZodOptional; critical: z.ZodOptional; }, z.core.$strict>>>; requiredCriticalMetadata: z.ZodOptional>>; }, z.core.$strict>>; }, z.core.$strict>>; analysis: z.ZodOptional; order: z.ZodOptional; options: z.ZodOptional>; reason: z.ZodOptional; }, z.core.$strict>>>; jsTs: z.ZodOptional>; runtimeWiringAdapters: z.ZodOptional; }, z.core.$strict>>>; includeTestRuntimeWiring: z.ZodOptional; }, z.core.$strict>>; areas: z.ZodOptional; roots: z.ZodOptional>; exclude: z.ZodOptional>; }, z.core.$strict>>; }, z.core.$strict>>; rules: z.ZodOptional>; severity: z.ZodOptional & z.core.$partial, z.ZodEnum<{ error: "error"; off: "off"; info: "info"; warn: "warn"; }>>>; ignore: z.ZodOptional>>; criticalEntities: z.ZodOptional>; criticalPaths: z.ZodOptional>; warningThresholds: z.ZodOptional & z.core.$partial, z.ZodNumber>>; }, z.core.$strict>>; workflow: z.ZodOptional; }, z.core.$strict>>; safety: z.ZodOptional>; maxFiles: z.ZodOptional; maxBytes: z.ZodOptional; maxTimeMs: z.ZodOptional; maxMemoryMb: z.ZodOptional; redactSecrets: z.ZodOptional; }, z.core.$strict>>; report: z.ZodOptional>; }, z.core.$strict>>; surfaces: z.ZodOptional; defaultFormat: z.ZodOptional>; }, z.core.$strict>>; mcp: z.ZodOptional; tools: z.ZodOptional>>; transport: z.ZodOptional>; http: z.ZodOptional; path: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; intelligence: z.ZodOptional; adapter: z.ZodOptional; model: z.ZodOptional; apiKeyEnv: z.ZodOptional; baseUrl: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>>; chat: z.ZodOptional; sources: z.ZodOptional>>; handoffFirst: z.ZodOptional; }, z.core.$strict>>; retriever: z.ZodOptional; mode: z.ZodOptional>; embedModel: z.ZodOptional; chunkSize: z.ZodOptional; options: z.ZodOptional>; }, z.core.$strict>>; memory: z.ZodOptional; adapters: z.ZodOptional>>; ingestDir: z.ZodOptional; classify: z.ZodOptional; promote: z.ZodOptional; targets: z.ZodOptional>>; requireApproval: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; runtime: z.ZodOptional>; runtimeModule: z.ZodOptional; registry: z.ZodOptional; agentId: z.ZodOptional; agentRoot: z.ZodOptional; runnerModule: z.ZodOptional; cli: z.ZodOptional>; }, z.core.$strict>>; deterministic: z.ZodOptional; timeoutMs: z.ZodOptional; maxInputBytes: z.ZodOptional; maxTokens: z.ZodOptional; maxResponseBytes: z.ZodOptional; maxConcurrency: z.ZodOptional; maxPackBytes: z.ZodOptional; roles: z.ZodOptional; agentId: z.ZodOptional; promptVersion: z.ZodOptional; }, z.core.$strict>>; reviewer: z.ZodOptional; agentId: z.ZodOptional; promptVersion: z.ZodOptional; }, z.core.$strict>>; adjudicator: z.ZodOptional; agentId: z.ZodOptional; promptVersion: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strict>>; federation: z.ZodOptional; sources: z.ZodOptional; rawBaseUrl: z.ZodOptional; includeInRetriever: z.ZodOptional; includeInChat: z.ZodOptional; }, z.core.$strict>>>; }, z.core.$strict>>; conformance: z.ZodOptional>; contributionPaths: z.ZodOptional>; metadata: z.ZodOptional; }, z.core.$strict>>>; links: z.ZodOptional; }, z.core.$strict>>>; quickstarts: z.ZodOptional; }, z.core.$strict>>>; visuals: z.ZodOptional>; diagrams: z.ZodOptional; }, z.core.$strict>>>; ecosystemContract: z.ZodOptional>; exceptions: z.ZodOptional; reason: z.ZodString; approvedBy: z.ZodString; trackingUrl: z.ZodString; }, z.core.$strict>>>; }, z.core.$strict>>; }, z.core.$strict>>; retrieval: z.ZodOptional; }, z.core.$strict>>; weights: z.ZodOptional>; params: z.ZodOptional; b: z.ZodOptional; }, z.core.$strict>>; benchmark: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>>; render: z.ZodOptional & z.core.$partial, z.ZodString>>; }, z.core.$strict>>; }, z.core.$strict>; type DocBridgeConfigV1 = z.infer; type AgentCorpusConfig = z.infer; type DocumentationStandardV1Config = z.infer; type DocumentationStandardRuleId = z.infer; type ReconciliationConfig = z.infer; type DocumentationAuditConfig = z.infer; type RuleId = z.infer; type RuleSeverity = z.infer; type RulesConfig = z.infer; type WorkflowConfig = z.infer; type RepositorySafetyConfig = z.infer; type ReportConfig = z.infer; type RetrievalConfig = 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, ReconciliationConfigSchema as B, ConfigNotFoundError as C, type DocBridgeConfigV1 as D, EcosystemContractEvidenceSchema as E, type RetrievalConfig as F, RetrievalConfigSchema as G, HumanCorpusConfigSchema as H, type LoadConfigOptions as L, type RulesConfig as R, type WorkflowConfig as W, type DocumentationAuditConfig as a, type RuleId as b, type RuleSeverity as c, type DocumentationStandardRuleId as d, DocBridgeConfigV1Schema as e, DocumentationAuditConfigSchema as f, DocumentationStandardRuleIdSchema as g, type DocumentationStandardV1Config as h, DocumentationStandardV1ConfigSchema as i, type LoadConfigResult as j, type ReportConfig as k, ReportConfigSchema as l, type RepositorySafetyConfig as m, RepositorySafetyConfigSchema as n, RuleIdSchema as o, RuleSeveritySchema as p, RulesConfigSchema as q, WorkflowConfigSchema as r, applyConfigDefaults as s, defineConfig as t, loadConfig as u, projectRootFromConfigPath as v, resolveProjectRoot as w, AgentCorpusConfigSchema as x, ConformanceConfigSchema as y, type ReconciliationConfig as z };