import { MessageTips, ThreadStatsData, type MessageReactions, TimelineEvent, TimelineEventConfirmation } from '../models/timelineTypes'; export type TimelinesMap = Record; export type ThreadStatsMap = Record>; export type ThreadsMap = Record; export type ReactionsMap = Record>; export type TipsMap = Record>; export type TimelinesViewModel = { timelines: TimelinesMap; replacedEvents: Record; pendingReplacedEvents: Record>; threadsStats: ThreadStatsMap; threads: ThreadsMap; reactions: ReactionsMap; tips: TipsMap; lastestEventByUser: { [userId: string]: TimelineEvent; }; }; export interface TimelinesViewInterface { initializeStream: (userId: string, streamId: string) => void; reset: (streamIds: string[]) => void; appendEvents: (events: TimelineEvent[], userId: string, streamId: string, specialFunction?: 'initializeStream') => void; prependEvents: (events: TimelineEvent[], userId: string, streamId: string) => void; updateEvents: (events: TimelineEvent[], userId: string, streamId: string) => void; updateEvent: (event: TimelineEvent, userId: string, streamId: string, updatingEventId: string) => void; confirmEvents: (confirmations: TimelineEventConfirmation[], streamId: string) => void; } export declare function makeTimelinesViewInterface(setState: (fn: (prevState: TimelinesViewModel) => TimelinesViewModel) => void): TimelinesViewInterface; //# sourceMappingURL=timelinesModel.d.ts.map