/** * Dataset validation utility for guardrail evaluation. * * This module provides functions for validating evaluation datasets in JSONL format. * It checks that each sample conforms to the expected schema and reports errors for invalid entries. */ /** * Validate the entire dataset file. * * Returns a tuple of [isValid, errorMessages]. * * @param datasetPath - Path to the dataset JSONL file * @returns Tuple containing: * - Boolean indicating if validation was successful * - List of error messages * * @throws {Error} If the dataset file does not exist * @throws {Error} If there are any file I/O errors */ export declare function validateDataset(datasetPath: string): Promise<[boolean, string[]]>; /** * CLI entry point for dataset validation. * * @param datasetPath - Path to the evaluation dataset JSONL file */ export declare function validateDatasetCLI(datasetPath: string): Promise; //# sourceMappingURL=validate-dataset.d.ts.map