import React from 'react'; import { ConfigEditor } from '../services/config/configEditor.js'; import { ConfigScope } from '../types/index.js'; declare const ConfigEditorContext: React.Context; interface ConfigEditorProviderProps { scope: ConfigScope; children: React.ReactNode; } /** * Provider component for ConfigEditor context. * Creates a ConfigEditor instance based on scope. * Uses singleton config editors to ensure config changes are * immediately visible to all components. */ export declare function ConfigEditorProvider({ scope, children, }: ConfigEditorProviderProps): import("react/jsx-runtime").JSX.Element; /** * Hook to access ConfigEditor from context. * Must be used within a ConfigEditorProvider. */ export declare function useConfigEditor(): ConfigEditor; export { ConfigEditorContext };