import type {IntoInterator} from './types'; type PredicateFunction = (item: T) => boolean; export default function find( target: IntoInterator, predicate: PredicateFunction ): T | undefined;