import { EventSpec, PropertyValidationResult } from "./AvoEventSpecFetchTypes"; /** * Checks event property values against the value constraints of an event spec: pinned values, * allowed values, regex patterns and min/max ranges, on a property and on the properties of an * object (or of each object in a list). * * Each constraint applies to the tracking-plan event IDs (base event and variants) the spec * lists for it, so a value can pass for one variant and fail for another. Types and required * properties are not checked here; Avo compares the reported schema with the plan for those. */ export declare class EventValidator { /** * Returns one result per property that failed for at least one event ID, or whose object * properties did. Properties the spec has no constraints for are left out. */ validate(spec: EventSpec, eventSchema: Array<{ propertyName: string; }>, rawEventProperties: { [propName: string]: any; } | undefined): PropertyValidationResult[]; }