/** * JSONL dataset loader for guardrail evaluation. * * This module provides a loader for reading and validating evaluation datasets in JSONL format. * It ensures that all samples conform to the expected schema before use in evaluation. */ import type { DatasetLoader, Sample } from './types'; /** * Loads and validates datasets from JSONL files. */ export declare class JsonlDatasetLoader implements DatasetLoader { /** * Load and validate dataset from a JSONL file. * * @param path - Path to the JSONL file * @returns List of validated samples * * @throws {Error} If the dataset file does not exist * @throws {Error} If the dataset validation fails * @throws {Error} If any line in the file is not valid JSON */ load(path: string): Promise; } //# sourceMappingURL=jsonl-loader.d.ts.map