/** * Executes promises and returns results as soon as threshold is reached * @param promises Array of promises to execute * @param threshold Number of successful responses needed * @returns Promise that resolves with threshold number of results */ export declare function executeWithThreshold(promises: Promise[], threshold: number): Promise;