import type { TestkitMap, UniDriver } from 'ricos-types/testkit'; import type { TOOLBARS } from 'wix-rich-content-editor-common'; import type { TestkitCreatorByType } from './get-testkits-from-plugins'; import type { AddButtonToolbarPluginActions } from './toolbar-testkit-types'; /** * * This is only used for conversion, because AddButtonToolbarPluginActions is a subset of ToolbarPluginActions * and since we do not care if the object in reality has more fields than the ones we defined in the type, * we can just cast it to the more specific type. */ export declare const convertToSpecificAddButtonToolbar: (addButtonTestkits: (getBase: () => UniDriver) => import("./toolbar-testkit-types").OmitNeverFields>) => (getBase: () => UniDriver) => import("./toolbar-testkit-types").OmitNeverFields extends infer T extends import("./toolbar-testkit-types").ToolbarPluginActions ? { [PluginName in keyof T]: import("./toolbar-testkit-types").ToolbarPluginActions[PluginName] extends object ? Toolbar[] extends import("./toolbar-testkit-types").ToolbarPluginActions[PluginName]["toolbarsToAddIn"] ? Omit[PluginName], "toolbarsToAddIn"> : never : never; } : never>; //# sourceMappingURL=covert-to-specific-add-button-toolbar.d.ts.map