import { MeldNode } from './types/nodes';
import { Parser } from './types/parser';
/**
 * Result of validating a Meld document
 */
export interface ValidationResult {
    valid: boolean;
    errors: string[];
    ast?: MeldNode[];
}
/**
 * Validate the syntax of a Meld document string
 * @param parser The parser implementation to use
 * @param input The Meld document string to validate
 * @returns The validation result
 */
export declare function validateSyntax(parser: Parser, input: string): ValidationResult;
