UNPKG

@river-build/sdk

Version:

For more details, visit the following resources:

20 lines 1.38 kB
import TypedEmitter from 'typed-emitter'; import { RemoteTimelineEvent } from './types'; import { ChannelPayload_Snapshot, Snapshot } from '@river-build/proto'; import { StreamStateView_AbstractContent } from './streamStateView_AbstractContent'; import { StreamEncryptionEvents, StreamStateEvents } from './streamEvents'; export declare class StreamStateView_Channel extends StreamStateView_AbstractContent { readonly streamId: string; spaceId: string; readonlytips: { [key: string]: bigint; }; private reachedRenderableContent; constructor(streamId: string); getStreamParentId(): string | undefined; needsScrollback(): boolean; applySnapshot(snapshot: Snapshot, content: ChannelPayload_Snapshot, _cleartexts: Record<string, Uint8Array | string> | undefined, _encryptionEmitter: TypedEmitter<StreamEncryptionEvents> | undefined): void; prependEvent(event: RemoteTimelineEvent, cleartext: Uint8Array | string | undefined, encryptionEmitter: TypedEmitter<StreamEncryptionEvents> | undefined, _stateEmitter: TypedEmitter<StreamStateEvents> | undefined): void; appendEvent(event: RemoteTimelineEvent, cleartext: Uint8Array | string | undefined, encryptionEmitter: TypedEmitter<StreamEncryptionEvents> | undefined, _stateEmitter: TypedEmitter<StreamStateEvents> | undefined): void; } //# sourceMappingURL=streamStateView_Channel.d.ts.map