import { Sequence } from "../../sequency"; export declare class First { /** * Returns the first element of the sequence or the first element matching `predicate` if present, otherwise throws * an error. * * @param {(T) => boolean} predicate * @returns {T} */ first(this: Sequence, predicate?: (item: T) => boolean): T; }