import { AsyncSequence } 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) => Promise | boolean} predicate * @returns {Promise} */ last(this: AsyncSequence, predicate?: (value: T) => Promise | boolean): Promise; }