import { Mark } from '@atlaskit/editor-prosemirror/model';
import type { MarkType } from '@atlaskit/editor-prosemirror/model';
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
type MarkMap = Map<Mark | MarkType, boolean>;
/**
 * Check if a selection contains any of the specifiged marks. The whole selection
 * must have the mark for it to be considered active.
 * @param state The editor state
 * @param markTypes The marks to check for
 * @returns A map indicating which marks are present in the selection
 * @example
 * const markTypes = editorState.schema.marks;
 * const activeMarks = wholeSelectionHasMarks(editorState, [markTypes.strong, markTypes.em, markTypes.etc]);
 */
export declare const wholeSelectionHasMarks: (state: EditorState, markTypes: (MarkType | Mark)[]) => MarkMap;
export { anyMarkActive } from './anyMarkActive';
export { isMarkAllowedInRange } from './isMarkAllowedInRange';
export { isMarkExcluded } from './isMarkExcluded';
