import React from 'react';
import type { SelectorContextValue } from '../_shared/use-context-selector.js';
import type { Selection } from '../tiptap/pm/state';
export type SelectionContextType = {
    selection: Selection | null;
};
export declare const SelectionContextProvider: ({ children, onSelectorContextValue, }: {
    children: React.ReactNode;
    onSelectorContextValue: (selectorContextValue: SelectorContextValue<SelectionContextType>) => void;
}) => React.JSX.Element;
export declare const useSelection: () => SelectionContextType;
//# sourceMappingURL=selection-context.d.ts.map