import { SeqToValue } from '../Seq'; /** * Returns the first element that satisfies the condition. If no element satisfying the condition is found, an error is thrown. * * ```typescript * const result = from([1,2,3,4]).value(find(i => i % 2 == 0)); * * //result: 2 * ``` * * @param predicate Condition. * @typeParam T Source element type. * @returns The first element that matches the condition * @category Values */ export declare const find: (predicate?: (arg: T, index: number) => boolean) => SeqToValue;