//#region ../@warlock.js/seal/src/validators/methods/forbidden-methods.d.ts /** * Marker re-exported by the validators barrel so the dts bundler keeps this * module (and its `declare module` augmentation) in the bundled `.d.ts`. */ declare const forbiddenMethodsApplied = true; declare module "../base-validator.mjs" { interface BaseValidator { /** * Value is forbidden to be present */ forbidden(errorMessage?: string): this; /** * Value is forbidden if another field equals a specific value (global scope) */ forbiddenIf(field: string, value: any, errorMessage?: string): this; /** * Value is forbidden if another field equals a specific value (sibling scope) */ forbiddenIfSibling(field: string, value: any, errorMessage?: string): this; /** * Value is forbidden if another field does NOT equal a specific value (global scope) */ forbiddenIfNot(field: string, value: any, errorMessage?: string): this; /** * Value is forbidden if another field does NOT equal a specific value (sibling scope) */ forbiddenIfNotSibling(field: string, value: any, errorMessage?: string): this; /** * Value is forbidden if another field is empty (global scope) */ forbiddenIfEmpty(field: string, errorMessage?: string): this; /** * Value is forbidden if another field is empty (sibling scope) */ forbiddenIfEmptySibling(field: string, errorMessage?: string): this; /** * Value is forbidden if another field is not empty (global scope) */ forbiddenIfNotEmpty(field: string, errorMessage?: string): this; /** * Value is forbidden if another field is not empty (sibling scope) */ forbiddenIfNotEmptySibling(field: string, errorMessage?: string): this; /** * Value is forbidden if another field's value is in the given array (global scope) */ forbiddenIfIn(field: string, values: any[], errorMessage?: string): this; /** * Value is forbidden if another field's value is in the given array (sibling scope) */ forbiddenIfInSibling(field: string, values: any[], errorMessage?: string): this; /** * Value is forbidden if another field's value is NOT in the given array (global scope) */ forbiddenIfNotIn(field: string, values: any[], errorMessage?: string): this; /** * Value is forbidden if another field's value is NOT in the given array (sibling scope) */ forbiddenIfNotInSibling(field: string, values: any[], errorMessage?: string): this; } } //# sourceMappingURL=forbidden-methods.d.ts.map //#endregion export { forbiddenMethodsApplied }; //# sourceMappingURL=forbidden-methods.d.mts.map