aiwg
Version:
Deployment tool and support utility for AI context. Copies agents, skills, commands, rules, and behaviors into the paths each AI platform reads (Claude Code, Codex, Copilot, Cursor, Warp, OpenClaw, and 6 more) so one source of truth works across 10 platfo
18 lines • 772 B
TypeScript
/**
* View definition parser and validator.
*
* @implements #1207
* @see .aiwg/architecture/adr-rlm-index-features-impl-plan.md
*/
import type { ViewDefinition } from './types.js';
export declare class ViewValidationError extends Error {
readonly issues: string[];
constructor(issues: string[]);
}
/** Parse a YAML string and validate as a ViewDefinition. Throws on failure. */
export declare function parseViewYaml(yaml: string): ViewDefinition;
/** Validate an arbitrary value as a ViewDefinition. Throws ViewValidationError. */
export declare function validate(value: unknown): ViewDefinition;
/** Render a ViewDefinition back to canonical YAML. */
export declare function dumpViewYaml(def: ViewDefinition): string;
//# sourceMappingURL=definition.d.ts.map