import type { Attrs, MarkType, NodeType } from 'prosemirror-model'; import type { ContentNodeWithPos } from '@curvenote/prosemirror-utils'; import type { State } from '../types'; export declare const getParentsOfSelection: (state: State, stateKey: string | null) => ContentNodeWithPos[]; export declare const getNodeAttrs: (state: State, stateKey: string | null, pos: number) => Attrs | null; export declare const selectionIsMarkedWith: (state: State, stateKey: string | null, types: Record) => Record; export declare const selectionIsChildOf: (state: State, stateKey: string | null, nodes: Record) => Record; export declare function selectionIsChildOfActiveState>(state: State, nodes: Record): Record; export declare const selectionIsThisNodeType: (state: State, stateKey: string | null, nodes: Record) => Record;