/** * Validates a single component. * @param {object} component The component to validate. * @param {object} outerData The data to use that holds this component's value. * @param {object} formData The data at the top level of the form. * @returns The first encountered error with the component. */ declare const validateComponent: (component: any, outerData: any, formData: any) => any[] | { id: any; error: never; } | { id: any; error: any; properties: {} | undefined; } | undefined; export default validateComponent;