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