/** * ps_validate Tool * * Validates PromptSpeak frames through three-tier validation: * 1. Structural - syntax and symbol existence * 2. Semantic - mutual exclusions and required companions * 3. Chain - inheritance and constraint preservation */ import type { ValidationReport, ParsedFrame } from '../types/index.js'; export interface ValidateRequest { frame: string; parentFrame?: string; validationLevel?: 'structural' | 'semantic' | 'chain' | 'full'; strict?: boolean; } export interface ValidateResult { valid: boolean; frame: string; parsedFrame: ParsedFrame | null; parseConfidence: number; report: ValidationReport; summary: { errors: number; warnings: number; passed: number; }; suggestions?: string[]; } export declare function ps_validate(request: ValidateRequest): ValidateResult; export interface BatchValidateRequest { frames: Array<{ frame: string; parentFrame?: string; }>; validationLevel?: 'structural' | 'semantic' | 'chain' | 'full'; strict?: boolean; stopOnFirstError?: boolean; } export interface BatchValidateResult { allValid: boolean; results: ValidateResult[]; summary: { total: number; valid: number; invalid: number; totalErrors: number; totalWarnings: number; }; } export declare function ps_validate_batch(request: BatchValidateRequest): BatchValidateResult; //# sourceMappingURL=ps_validate.d.ts.map