import React from 'react'; import type { P1FeaturePlugin, P1FeaturePluginDeps, PuckContribution } from '../core/plugin-types.js'; import type { P1FeatureConfig } from '../core/featureConfig.js'; export declare function resolveActivePlugins(plugins: P1FeaturePlugin[], config: Required): P1FeaturePlugin[]; export declare function composeProviders(plugins: P1FeaturePlugin[], config: Required, deps: P1FeaturePluginDeps): React.ComponentType<{ children: React.ReactNode; }>; /** * Each plugin's panels, then an entry carrying its `puckOverrides`. Puck chains * `overrides` along the plugin array: an entry wraps the ones before it, with * the editor's own `overrides` prop innermost. A plugin's own overrides entry * therefore wraps its own panel entries for any shared field type key — a * plugin declaring both must account for that ordering. */ export declare function collectPuckPlugins(plugins: P1FeaturePlugin[], deps: P1FeaturePluginDeps): readonly PuckContribution[]; /** * The toolbar controls the given plugins contribute, in the order the plugins * arrive — pass them already sorted to place them by priority. */ export declare function collectToolbarActions(plugins: P1FeaturePlugin[], deps: P1FeaturePluginDeps): readonly React.ReactNode[];