import { DivContainer } from "blocky-common/es/dom"; /** * The drawer of the collaborative cursor. * This class will draw the rectangles and the label. */ export declare class CollaborativeCursor { #private; id: string; readonly client: CollaborativeCursorClient; private parent; name?: string; private initTimeout; constructor(id: string, client: CollaborativeCursorClient, parent: HTMLElement); get height(): number; set height(v: number); set color(value: string); get color(): string; drawCollapsedRect(x: number, y: number): void; drawRects(rects: DOMRect[]): void; dispose(): void; } export interface CollaborativeCursorClient { get name(): string; get color(): string; dispose?(): void; } export type CollaborativeCursorFactory = (id: string) => CollaborativeCursorClient; export declare class CollaborativeCursorManager extends DivContainer { #private; readonly factory: CollaborativeCursorFactory; constructor(factory?: CollaborativeCursorFactory); getOrInit(id: string): CollaborativeCursor; deleteById(id: string): void; }