import type { Node, ResolvedPos } from '../../tiptap/pm/model';
import { Slice } from '../../tiptap/pm/model';
import { Selection } from '../../tiptap/pm/state';
import type { Mappable } from '../../tiptap/pm/transform';
export declare class GapCursor extends Selection {
    constructor($pos: ResolvedPos);
    map(doc: Node, mapping: Mappable): Selection;
    content(): Slice;
    eq(other: Selection): boolean;
    toJSON(): any;
    static fromJSON(doc: Node, json: any): GapCursor;
    getBookmark(): GapBookmark;
    static hasAdjacentUnwrappedTextNodes($pos: ResolvedPos): boolean | null;
    static valid($pos: ResolvedPos): boolean | null;
    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): GapCursor | Selection;
}
export {};
//# sourceMappingURL=gap-cursor-selection.d.ts.map