import type { RebasePlugin } from "@rebasepro/cms-types"; import React from "react"; /** * Wraps children with all provider components from plugins that match the given scope. * * Replaces the 3 copy-pasted `plugins.forEach(plugin => { if (plugin.form?.provider) ... })` patterns * in Rebase.tsx, EditViewBinding.tsx, and PopupFormField.tsx. * * @param plugins - Array of plugins to extract providers from. * @param scope - `"root"` or `"form"` — which providers to apply. * @param scopeProps - Additional props passed to each provider component. * @param children - The content to wrap. * * @group Core */ export declare function PluginProviderStack({ plugins, scope, scopeProps, children }: { plugins: RebasePlugin[]; scope: "root" | "form"; scopeProps?: Record; children: React.ReactNode; }): React.ReactNode;