import { GapCursor } from '@remirror/pm/gapcursor'; import { PlainExtension } from '@remirror/core'; import { ProsemirrorPlugin } from '@remirror/core'; /** * Create a gap cursor plugin. * * @remarks * * When enabled, this will capture clicks near and arrow-key-motion past places * that don't have a normally selectable position nearby, and create a gap * cursor selection for them. The cursor is drawn as an element with class * `ProseMirror-gapcursor`. * * Make sure to import the styles as shown below. * * ```ts * import '@remirror/styles/extension-gap-cursor.css'; * ``` */ declare class GapCursorExtension extends PlainExtension { get name(): "gapCursor"; createExternalPlugins(): ProsemirrorPlugin[]; } export { GapCursorExtension } export { GapCursorExtension as GapCursorExtension_alias_1 } /** * Predicate checking whether the selection is a GapCursor * * @param value - the value to check */ declare const isGapCursorSelection: (value: unknown) => value is GapCursor; export { isGapCursorSelection } export { isGapCursorSelection as isGapCursorSelection_alias_1 } export { } declare global { namespace Remirror { interface AllExtensions { gapCursor: GapCursorExtension; } } }