namespace Connected.Components; public interface IFormComponent { public bool Required { get; set; } public bool Error { get; set; } public bool HasErrors { get; } public bool Touched { get; } public object Validation { get; set; } public bool IsForNull { get; } public List ValidationErrors { get; set; } public Task Validate(); public void Reset(); public void ResetValidation(); }