import type { ExtensionConfiguration, ExtensionSource, GetMenuItemsFn, GetToolbarItemFn, SelectionExtension } from '../types';
export type ToolbarItemExtension = {
    getMenuItems?: GetMenuItemsFn;
    getToolbarItem: GetToolbarItemFn;
};
/**
 * From the full list of extensions, extract only those that have a toolbar item configuration
 * for the specified type (either 'primaryToolbar' or 'inlineToolbar').
 *
 * @param extensionList - List of all extensions
 * @param toolbarType - Type of toolbar ('primaryToolbar' or 'inlineToolbar')
 * @returns Array of ToolbarItemExtension objects
 * @example
 */
export declare const getToolbarItemExtensions: (extensionList: ExtensionConfiguration[], toolbarType: "primaryToolbar" | "inlineToolbar") => ToolbarItemExtension[];
/**
 * From the full list of extensions, extract only those that have a menu item configuration
 * for the specified source (either 'first-party' or 'external').
 *
 * Map each to the legacy format for SelectionExtension.
 *
 * @param extensionList - List of all extensions
 * @param targetSource - Source of the extensions ('first-party' or 'external')
 * @returns Array of SelectionExtension objects
 * @example
 */
export declare const getMenuItemExtensions: (extensionList: ExtensionConfiguration[], targetSource: ExtensionSource) => SelectionExtension[];
