import { Ctx } from '@milkdown/kit/ctx'; import { Node as ProseMirrorNode } from '@milkdown/kit/prose/model'; /** Inserts text at cursor, replacing any preceding slash command */ export declare const insertTextAtCursor: (ctx: Ctx, text: string) => void; /** * Inserts a block node at cursor, replacing the current paragraph. * Sets cursor inside the block at the specified offset (default: 2 for block > paragraph > cursor). */ export declare const insertBlockAtCursor: (ctx: Ctx, blockNode: ProseMirrorNode, cursorOffset?: number) => void;