/** * Knowledge manifest schema and validation. * * Moved from @skaile/workspaces/types/manifests/knowledge.ts in Phase 1.7.4. * This is now the canonical location for knowledge manifest validation. * * Knowledge is currently a read-only slot (runtime support deferred to Phase 4). * The schema is minimal: name, description, version, files, keywords, license. */ import * as z from "zod"; export interface ManifestValidationSuccess { ok: true; data: T; } export interface ManifestValidationFailure { ok: false; errors: Array<{ path: string; message: string; }>; } export type ManifestValidationResult = ManifestValidationSuccess | ManifestValidationFailure; /** * Knowledge manifest schema. * Slot reserved per spec — runtime support deferred to Phase 4. * Currently just an index of files. */ export declare const KnowledgeManifestSchema: z.ZodObject<{ name: z.ZodOptional; description: z.ZodOptional; version: z.ZodOptional; files: z.ZodOptional>; keywords: z.ZodOptional>; license: z.ZodOptional; }, z.core.$loose>; export type KnowledgeManifest = z.infer; export declare function validateKnowledge(data: unknown): ManifestValidationResult; //# sourceMappingURL=knowledge-manifest.d.ts.map