import { Plugin, Selection } from 'prosemirror-state'; import { Node, ResolvedPos, Slice } from 'prosemirror-model'; import { Mappable } from 'prosemirror-transform'; import { Extension } from '@kerebron/editor'; export declare class GapCursor extends Selection { constructor($pos: ResolvedPos); map(doc: Node, mapping: Mappable): Selection; content(): Slice; eq(other: Selection): boolean; toJSON(): any; static fromJSONToGapCursor(doc: Node, json: any): GapCursor; getBookmark(): GapBookmark; static valid($pos: ResolvedPos): any; static findGapCursorFrom($pos: ResolvedPos, dir: number, mustMove?: boolean): ResolvedPos | null; } declare class GapBookmark { readonly pos: number; constructor(pos: number); map(mapping: Mappable): GapBookmark; resolve(doc: Node): Selection; } export declare class ExtensionGapcursor extends Extension { name: string; options: { color: string; width: number; class: undefined; }; getProseMirrorPlugins(): Plugin[]; } export {}; //# sourceMappingURL=ExtensionGapcursor.d.ts.map