import type { CollabParticipant } from '@atlaskit/editor-common/collab';
import type { ReadOnlyParticipants } from '../types';
export declare class Participants implements ReadOnlyParticipants {
    private participants;
    constructor(participants?: Map<string, CollabParticipant>);
    add(data: CollabParticipant[]): Participants;
    remove(sessionIds: string[]): Participants;
    update(sessionId: string, lastActive: number): Participants;
    updateCursorPos(sessionId: string, cursorPos: number): Participants;
    toArray(): CollabParticipant[];
    get(sessionId: string): CollabParticipant | undefined;
    size(): number;
    eq(other: ReadOnlyParticipants): boolean;
}
