import { ValidatorFn } from '@angular/forms';

/**
 * @description
 * Validator function that checks if a form control value exceeds a specified byte length.
 * Measures actual byte size using UTF-8 encoding rather than character count.
 * Useful for validating input against database column byte limits or API payload size restrictions.
 * Returns validation error when encoded byte length exceeds the specified limit.
 * @param bytes - Maximum allowed byte length for the control value
 * @returns ValidatorFn that returns null if valid, or ValidationErrors object with maxLengthBytes error containing required and actual byte counts
 */
declare const maxLengthBytes: (bytes: number) => ValidatorFn;

export { maxLengthBytes };
//# sourceMappingURL=eui-components-validators.d.ts.map
