import { Field } from '../../types';
import { YupFieldSchema } from './types';
/**
 * Applies "required" validation to a Yup schema based on component type and base schema type.
 * Component type takes precedence for array/object semantics (e.g. date range = length 2, checkable list = min 1).
 * @param field - Field with fieldType.componentId and fieldType.id
 * @param schema - Current Yup schema to mutate
 * @param baseSchema - Base schema used to determine primitive/array/object type
 * @param errorMessage - Custom error message or default
 * @returns Schema with required validation applied
 */
export declare function applyRequiredValidation(field: Field, schema: YupFieldSchema, baseSchema: YupFieldSchema, errorMessage: string): YupFieldSchema;
//# sourceMappingURL=applyRequiredValidation.d.ts.map