typedef YaruSegmentInputFormatter = String Function(String? segmentInput, int minLength, int? maxLength);