import { Constructor } from "./mixins.js";
import { SingleOrArray } from "../types.js";
import { ValidationOptions } from "class-validator";

//#region src/utils/validators.d.ts
interface IsInstanceOrArrayOfInstancesValidationOptions extends ValidationOptions {
  classType: SingleOrArray<new (...args: any[]) => any>;
  /**
   * Whether to allow empty arrays to pass validation
   * @default false
   */
  allowEmptyArray?: boolean;
}
/**
 * Checks if the value is a string or the specified instance
 */
declare function IsStringOrInstance(targetType: Constructor, validationOptions?: ValidationOptions): PropertyDecorator;
declare function IsStringOrInstanceOrArrayOfInstances(validationOptions: IsInstanceOrArrayOfInstancesValidationOptions): PropertyDecorator;
declare function IsUri(validationOptions?: ValidationOptions): PropertyDecorator;
//#endregion
export { IsStringOrInstance, IsStringOrInstanceOrArrayOfInstances, IsUri };
//# sourceMappingURL=validators.d.ts.map