import { type Provider } from 'react';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { SelectionExtensionPlugin } from '../selectionExtensionPluginType';
import type { ExtensionSource, SelectionExtensionLocation } from '../types';
type SelectionExtensionComponentContextValue = {
    api: ExtractInjectionAPI<SelectionExtensionPlugin>;
    editorView: EditorView;
    extensionKey: string;
    extensionLocation: SelectionExtensionLocation;
    extensionSource: ExtensionSource;
};
export declare const SelectionExtensionComponentContextProvider: Provider<SelectionExtensionComponentContextValue | undefined>;
export declare const useSelectionExtensionComponentContext: () => SelectionExtensionComponentContextValue;
export {};
