import { Branch, IridescentEnv } from './Interfaces'; export default class RainbowConnection { private presence?; private readonly events; private readonly iridescentEnv; private readonly siteId; constructor(iridescentEnv: IridescentEnv, siteId: string); disconnect(): void; addEventListener(eventName: string, callback: Function): void; removeEventListener(eventName: string, callback: Function): void; reset: (branch: Branch) => Promise; sendSelections(path: string, selections: ReadonlyArray): void; sendOperations: (operations: ReadonlyArray) => void; sendCommit: (sha: string) => void; private messageFromFriend; }