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