import { z } from "zod"; import { type KnowledgeKind, type KnowledgeVisibility } from "@vendoai/core"; /** The `.vendo/knowledge.json` format tag (developer door). An ingestion INPUT like tools.json — deliberately NOT a config surface (push/pull semantics don't apply). */ export declare const VENDO_KNOWLEDGE_CONFIG_FORMAT: "vendo/knowledge@1"; /** One local source: a glob of files sharing a kind and a visibility tier. `name` namespaces every doc id the source produces (`#`), so renaming a source re-mints its corpus ids — sync treats that as remove + re-add. */ export interface KnowledgeSourceConfig { name: string; /** Root-relative glob (`docs/**\/*.md`). `**` spans directories; `*` and `?` stay within one path segment. */ glob: string; kind: KnowledgeKind; visibility: KnowledgeVisibility; } export interface KnowledgeConfig { format: typeof VENDO_KNOWLEDGE_CONFIG_FORMAT; sources: KnowledgeSourceConfig[]; } /** Names are id namespaces, so they keep to a slug grammar and must be unique. Strict because hand edits must fail loudly rather than disappear on parse (the catalog-file rule). */ export declare const knowledgeSourceConfigSchema: z.ZodObject<{ name: z.ZodString; glob: z.ZodEffects, string, string>; kind: z.ZodEnum<["docs", "glossary", "api"]>; visibility: z.ZodEnum<["public", "internal"]>; }, "strict", z.ZodTypeAny, { kind: "docs" | "glossary" | "api"; visibility: "public" | "internal"; name: string; glob: string; }, { kind: "docs" | "glossary" | "api"; visibility: "public" | "internal"; name: string; glob: string; }>; export declare const knowledgeConfigSchema: z.ZodEffects; sources: z.ZodArray, string, string>; kind: z.ZodEnum<["docs", "glossary", "api"]>; visibility: z.ZodEnum<["public", "internal"]>; }, "strict", z.ZodTypeAny, { kind: "docs" | "glossary" | "api"; visibility: "public" | "internal"; name: string; glob: string; }, { kind: "docs" | "glossary" | "api"; visibility: "public" | "internal"; name: string; glob: string; }>, "many">; }, "strict", z.ZodTypeAny, { format: "vendo/knowledge@1"; sources: { kind: "docs" | "glossary" | "api"; visibility: "public" | "internal"; name: string; glob: string; }[]; }, { format: "vendo/knowledge@1"; sources: { kind: "docs" | "glossary" | "api"; visibility: "public" | "internal"; name: string; glob: string; }[]; }>, { format: "vendo/knowledge@1"; sources: { kind: "docs" | "glossary" | "api"; visibility: "public" | "internal"; name: string; glob: string; }[]; }, { format: "vendo/knowledge@1"; sources: { kind: "docs" | "glossary" | "api"; visibility: "public" | "internal"; name: string; glob: string; }[]; }>; //# sourceMappingURL=config.d.ts.map