import type { EditorState } from '@atlaskit/editor-prosemirror/state';
import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
/**
 * Creates a DecorationSet containing a ghost text widget at the given position.
 * The ghost text is rendered as a styled <span> that appears after the cursor.
 */
export declare const createGhostTextDecorationSet: (state: EditorState, position: number, text: string) => DecorationSet;
