import { type ObservableLike, Observable } from "./Observable.js"; export declare class TimeoutError extends Error { readonly name = "TimeoutError"; } /** * Causes an observable to error if a value is not emitted within the specified * timeout limit. The timer resets every time a value is emitted. */ export declare function timeout(milliseconds: number, callback?: (error: TimeoutError) => ObservableLike): (observable: ObservableLike) => Observable; //# sourceMappingURL=timeout.d.ts.map