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