import { AsyncIterableX } from '../asynciterablex';
import { OperatorAsyncFunction } from '../../interfaces';
export interface Timestamp<TSource> {
    time: number;
    value: TSource;
}
export declare class TimestampAsyncIterable<TSource> extends AsyncIterableX<Timestamp<TSource>> {
    private _source;
    constructor(source: AsyncIterable<TSource>);
    [Symbol.asyncIterator](): AsyncGenerator<{
        time: number;
        value: TSource;
    }, void, unknown>;
}
export declare function timestamp<TSource>(): OperatorAsyncFunction<TSource, Timestamp<TSource>>;
