import { MessageFunctionType, Result } from '../types'; export interface IsInArrayErrors { TARGET_ARGUMENT_NOT_AN_ARRAY: MessageFunctionType; } export declare const IS_IN_ARRAY_ERRORS: IsInArrayErrors; /** * Tests whether the `target` string is in the array of allowed values * * ### Example * ``` * expect(().value).toBeTruthy() * ``` * @param value The value that may be in the array * @param array The array */ export declare function isInArray(value: any, array: any[]): Result;