import { MonoTypeOperatorFunction } from 'rxjs'; /** * Operator that collects any errors emitted by the observable and adds them to the specified errors array * @param errors - The array used to collect the errors */ export declare function collectErrors(errors: Error[]): MonoTypeOperatorFunction;