import type { AnyIterableTypeGuard, GuardType, GuardTypeInput, TypeGuardFn } from './types'; type GuardArrayValues = (guard: Guard) => TypeGuardFn[], readonly GuardType[]>; /** * Given a Type Guard, returns a Type Guard that checks if the given value is an array and if all its values match the given Type Guard. * * @example * ```ts * import { guardArrayValues } from 'type-guard-helpers'; * * const isStringArray = guardArrayValues( * (value): value is string => * typeof value !== 'string' * ); * * const test = {} as unknown; * if (isStringArray(test)) { * test; // test: readonly string[] * } * ``` * @category Type Guard Composer */ declare const guardArrayValues: GuardArrayValues; export { guardArrayValues }; export type { GuardArrayValues };