UNPKG

@atlaskit/renderer

Version:
9 lines (8 loc) 359 B
import type { SelectionContext } from '@atlaskit/editor-common/types'; import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model'; type GetSelectionContextOptions = { doc?: PMNode; schema?: Schema; }; export declare const getSelectionContext: ({ doc, schema, }: GetSelectionContextOptions) => SelectionContext | null; export {};