import { Callback } from '../../types/Callback.js'; /** * Calls a defined callback function on each element of an array until * one returns `true` or there are no more elements. * * @param callback - A function that accepts up to three arguments. The * first method calls the callback function up to one time for each * element in the array. * * @returns The first element where the callback returned true, or * `undefined` */ export declare const first: (arr: readonly T[], callback?: Callback) => T | undefined;