import { EditorState, Plugin } from '@milkdown/kit/prose/state'; export declare function isInTableCell(state: EditorState): boolean; /** * ProseMirror plugin: Shift+Enter inserts a hard break when the selection is inside a table cell or header. * Exported for unit tests; use {@link tableHardBreakPlugin} in Milkdown editors. */ export declare function createTableHardBreakProsePlugin(): Plugin; /** * Milkdown plugin that enables Shift+Enter to insert a hard break inside table cells. * Plain Enter still follows preset-gfm (e.g. exit table); this only adds line breaks within a cell. */ export declare const tableHardBreakPlugin: import('@milkdown/utils').$Prose;