import { GeoShapePoint, MACDelimiter } from '@terascope/types'; import { FQDNOptions, HashConfig, LengthConfig, PostalCodeLocale, ArgsISSNOptions } from './interfaces.js'; import * as i from '../interfaces.js'; export declare const repository: i.Repository; /** * Checks to see if input is a boolean. * If given an array, will check if all values are booleans * * @example * FieldValidator.isBoolean(false); // true * FieldValidator.isBoolean('astring'); // false * FieldValidator.isBoolean(0); // false * FieldValidator.isBoolean([true, undefined]); // true * FieldValidator.isBoolean(['true', undefined]; // false * * @param {*} input * @returns {boolean} boolean */ export declare function isBoolean(input: unknown, _parentContext?: unknown): boolean; /** * Checks to see if input is a boolean-like value. If an given an array, it will check * to see if all values in the array are boolean-like, does NOT ignore null/undefined values * * @example * FieldValidator.isBooleanLike(); // true * FieldValidator.isBooleanLike(null); // true * FieldValidator.isBooleanLike(0); // true * FieldValidator.isBooleanLike('0'); // true * FieldValidator.isBooleanLike('false'); // true * FieldValidator.isBooleanLike('no'); // true * FieldValidator.isBooleanLike(['no', '0', null]); // true * * @param {*} input * @returns {boolean} boolean */ export declare function isBooleanLike(input: unknown, _parentContext?: unknown): boolean; /** * Return true if value is a valid email, or a list of valid emails * * @example * FieldValidator.isEmail('ha3ke5@pawnage.com') // true * FieldValidator.isEmail('user@blah.com/junk.junk?a=