import { Scheduler } from '../Scheduler'; import { Observable } from '../Observable'; /** * @param {number} due * @param {Scheduler} [scheduler] * @return {Observable|WebSocketSubject|Observable} * @method timeout * @owner Observable */ export declare function timeout(this: Observable, due: number | Date, scheduler?: Scheduler): Observable;