import { type ValidationResult } from "./findings.js"; import { WorkspecSchema, type Workspec } from "./workspec.js"; export * from "./advisory-disposition.js"; export * from "./dependencies.js"; export * from "./findings.js"; export * from "./parser.js"; export * from "./tags.js"; export * from "./workspec.js"; export { WorkspecSchema }; export interface WorkspecValidationContext { /** Absolute path to the spec being validated. Required when providing a context. */ specPath: string; /** Used only when the spec has neither a Git root nor a .work ancestor. */ cwd?: string; } export declare function validateWorkspec(source: string): ValidationResult; export declare function validateWorkspec(source: string, context: WorkspecValidationContext): ValidationResult;