import { Fragment, Node } from 'prosemirror-model';
import { Transaction } from 'prosemirror-state';
export declare type InsertableContent = Node | Fragment;
export declare enum LookDirection {
    Before = "before",
    After = "after"
}
export declare const safeInsert: (content: InsertableContent, position?: number) => (tr: Transaction) => Transaction;
