import type { RiskScore } from './RiskScore.js'; import type { PiDetection } from './PiDetection.js'; /** * PiDetectionResult - tipo puro */ export type PiDetectionResult = { readonly detections: readonly PiDetection[]; readonly score: RiskScore; readonly patterns: readonly string[]; readonly detected: boolean; }; /** * Crea un PiDetectionResult - función pura */ export declare function createPiDetectionResult(detections: readonly PiDetection[]): PiDetectionResult; /** * Funciones puras para PiDetectionResult */ export declare function hasDetections(result: PiDetectionResult): boolean; export declare function getDetectionCount(result: PiDetectionResult): number; export declare function getDetectionsByType(result: PiDetectionResult, pattern_type: string): readonly PiDetection[]; export declare function getHighestConfidenceDetection(result: PiDetectionResult): PiDetection | undefined; //# sourceMappingURL=PiDetectionResult.d.ts.map