import { OperatorFunction } from 'rxjs'; export declare function catchErrorAndComplete(handler: (error: any) => void): OperatorFunction;