import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin'; import type { RegisterComponent } from '@atlaskit/editor-toolbar-model/types'; import type { SelectionExtensionPlugin } from '../selectionExtensionPluginType'; import type { SelectionExtensionPluginOptions } from '../types'; type GetToolbarComponentsProps = { api: ExtractInjectionAPI | undefined; config: SelectionExtensionPluginOptions | undefined; }; type GetToolbarComponents = (props: GetToolbarComponentsProps) => RegisterComponent[]; export declare const getToolbarComponents: GetToolbarComponents; export {};