/** * Executes all promises and returns all successful results. * Rejects early if it becomes mathematically impossible to reach the threshold. * @param promises Array of promises to execute * @param threshold Minimum number of successful responses required * @returns Promise that resolves with all successful results (length >= threshold) */ export declare function executeWithThreshold(promises: Promise[], threshold: number): Promise;