import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
import type { EditorState, ReadonlyTransaction, Selection } from '@atlaskit/editor-prosemirror/state';
import type { NodeWithPos } from '@atlaskit/editor-prosemirror/utils';
export declare function getCursor(selection: Selection): ResolvedPos | undefined;
export declare function getAllCodeBlockNodesInDoc(state: EditorState): NodeWithPos[];
export declare function getAllChangedCodeBlocksInTransaction(tr: ReadonlyTransaction): NodeWithPos[] | null;
