/** * v3 node manifest validator. * * Goal-mode workers write `manifest.json` at BOTMUX_GOAL_MANIFEST_PATH. * The runtime treats that file as untrusted agent output: this module checks * the shape, status invariants, path containment, file metadata, and hashes * before downstream nodes receive any file paths. */ import { type Manifest } from './contract.js'; export declare class ManifestValidationError extends Error { readonly problems: string[]; constructor(problems: string[]); } export declare function readAndValidateManifest(manifestPath: string, outputDir: string): Promise; export declare function validateManifest(value: unknown, outputDir: string): Promise; export declare function resolveManifestFilePath(outputDir: string, relativePath: string): string; //# sourceMappingURL=manifest.d.ts.map