import { AsyncSequence } from "../../sequency"; export declare class IndexOfFirst { /** * Returns the zero-based index of the first element matching the given `predicate` or -1 if no element matches * the predicate. * * @param {(value: T) => Promise | boolean} predicate * @returns {Promise} */ indexOfFirst(this: AsyncSequence, predicate: (value: T) => Promise | boolean): Promise; }