import { ProviderFactory } from '@uidu/editor-common';
import { Selection } from 'prosemirror-state';
import { EditorView } from 'prosemirror-view';
import type { CollabEditOptions, ConnectionData, InitData, PresenceData, RemoteData, SendableSelection, TelepointerData } from './types';
export declare const handleInit: (initData: InitData, view: EditorView, options?: CollabEditOptions, providerFactory?: ProviderFactory, sanitizePrivateContent?: boolean) => void;
export declare const handleConnection: (connectionData: ConnectionData, view: EditorView) => void;
export declare const handlePresence: (presenceData: PresenceData, view: EditorView) => void;
export declare const applyRemoteData: (remoteData: RemoteData, view: EditorView, options?: CollabEditOptions) => void;
export declare const applyRemoteSteps: (json: any[], userIds: string[] | undefined, view: EditorView, options?: CollabEditOptions) => void;
export declare const handleTelePointer: (telepointerData: TelepointerData, view: EditorView) => void;
export declare const getSendableSelection: (selection: Selection) => SendableSelection;
