import { UserManager } from '@netless/forge-room';
import * as Y from 'yjs';
export declare class LiveCursor {
    container: HTMLDivElement;
    showLiveCursor: boolean;
    userManager: UserManager;
    private requestUserMap;
    private cursors;
    private paperScope;
    private resizeobserver;
    private timeoutIdMap;
    private lastVisibleChangeTimes;
    constructor(canvasElement: HTMLCanvasElement, paperScope: paper.PaperScope, userManager: UserManager, requestUserMap: (userId: string) => Y.Map<any>);
    private createCursor;
    private updateCursorLabel;
    private isOnSamePage;
    private detectEnable;
    updateCursorPosition(point: paper.Point, userId: string): void;
    updateCursorVisible(visible: boolean, userId: string): void;
}
//# sourceMappingURL=LiveCursor.d.ts.map