import { AsyncIterableX } from '../asynciterablex.js'; import { OperatorAsyncFunction } from '../../interfaces.js'; /** @ignore */ export interface Timestamp { time: number; value: TSource; } /** @ignore */ export declare class TimestampAsyncIterable extends AsyncIterableX> { private _source; constructor(source: AsyncIterable); [Symbol.asyncIterator](signal?: AbortSignal): AsyncGenerator<{ time: number; value: Awaited; }, void, unknown>; } /** * Timestamps each element in an async-iterable sequence using the local system clock. * * @template TSource The type of the elements in the source sequence. * @returns {OperatorAsyncFunction>} An async-iterable sequence with timestamp information on elements. */ export declare function timestamp(): OperatorAsyncFunction>;