export function validateEvents(file: any): { valid: boolean; error: string; } | { valid: boolean; error?: undefined; };