/** * PINT Benchmark Corpus Loader * * Reads the PINT-format dataset (JSON with text/category/label/source/language) * built from publicly available prompt injection datasets: * - deepset/prompt-injections (HuggingFace) * - Lakera/gandalf_ignore_instructions (HuggingFace) * * Converts each sample into the CorpusSample interface used by the ATR eval * harness, allowing the PINT corpus to be evaluated alongside or instead of * the built-in hand-crafted corpus. * * @module agent-threat-rules/eval/pint-corpus */ import type { CorpusSample } from './corpus.js'; /** * Load the PINT benchmark corpus from a JSON file on disk. * * @param dataPath - Absolute path to pint-corpus.json * @returns Readonly array of CorpusSample for use with runEval() */ export declare function loadPintCorpus(dataPath: string): readonly CorpusSample[]; /** * Get summary statistics for the loaded PINT corpus. */ export declare function getPintCorpusStats(corpus: readonly CorpusSample[]): { readonly total: number; readonly attacks: number; readonly benign: number; readonly byCategory: Readonly>; readonly byDifficulty: Readonly>; readonly byLanguage: Readonly>; }; //# sourceMappingURL=pint-corpus.d.ts.map