import type { MemoizedFunction } from 'lodash';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
type RemoveObserver = () => unknown;
type OnVisibleCallback = () => unknown;
type OnVisibleObserver = {
    observe: (el: HTMLElement, callback: OnVisibleCallback) => RemoveObserver;
};
export declare const getOrCreateOnVisibleObserver: ((view: EditorView) => OnVisibleObserver) & MemoizedFunction;
export {};
