import { ProviderFactory } from '@uidu/editor-common';
import { EditorState } from 'prosemirror-state';
import { Decoration, DecorationSet } from 'prosemirror-view';
import { CollabEditOptions } from './types';
export interface Color {
    solid: string;
    selection: string;
}
export declare const colors: Color[];
export declare const getAvatarColor: (str: string) => {
    index: number;
    color: Color;
};
export declare const findPointers: (id: string, decorations: DecorationSet) => Decoration[];
export declare const createTelepointers: (from: number, to: number, sessionId: string, isSelection: boolean, initial: string) => Decoration[];
export declare const replaceDocument: (doc: any, state: EditorState, version?: number, options?: CollabEditOptions, providerFactory?: ProviderFactory, sanitizePrivateContent?: boolean) => import("prosemirror-state").Transaction;
