/**
 * Pre-Write Syntax Validator
 *
 * Validates code syntax before writing to filesystem.
 * Uses lightweight checks per language to catch obvious errors.
 * Does NOT require the full TypeScript compiler — uses heuristics.
 */
export interface SyntaxCheckResult {
    valid: boolean;
    errors: string[];
    language: string;
}
/**
 * Validate syntax of code content before writing.
 * Returns validation result (best-effort, non-blocking).
 */
export declare function validateSyntax(code: string, filePath: string): SyntaxCheckResult;
