/** * Located manifest errors. Every validation failure carries the offending file, the YAML path, * and (where the node is locatable) a line/column — so the CLI prints `cotal.yaml:12:5: …` instead * of a stack trace. All problems found in one pass are collected and thrown together. */ export interface ManifestIssue { message: string; /** YAML path to the offending node, e.g. ["channels", "review", "allowPublish"]. */ path?: (string | number)[]; line?: number; col?: number; } /** Render one issue as `file:line:col: message (at a.b.c)`. */ export declare function formatIssue(file: string, i: ManifestIssue): string; /** One or more located problems in a manifest. The message lists each on its own line. */ export declare class ManifestError extends Error { readonly file: string; readonly issues: ManifestIssue[]; constructor(file: string, issues: ManifestIssue[]); } //# sourceMappingURL=errors.d.ts.map