import type { Node } from '@atlaskit/editor-prosemirror/model';
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
import type { Predicate } from '../types';
export declare function isTextAtPos(pos: number): (props: {
    tr: Transaction;
}) => boolean;
export declare function isLinkAtPos(pos: number): Predicate;
export declare const getLinkPreferencesURLFromENV: () => string;
export declare const getActiveLinkMark: (state: EditorState | Transaction) => {
    node: Node;
    pos: number;
} | undefined;
