import React from 'react'; import { type StoreApi } from 'zustand'; import type { ComponentConfig } from '../core/componentConfig'; type ComponentConfigStoreState = { components?: ComponentConfig; }; export type ComponentConfigContextValue = StoreApi; export declare const ComponentConfigContext: React.Context; export type ComponentConfigProviderProps = { /** Component config: static objects and/or functional resolvers per component. */ value?: ComponentConfig; children?: React.ReactNode; }; /** * Provides component-level default props via a zustand store. * Each component subscribes to only its own config slice, preventing cross-component re-renders. * Supports nesting with isolated scopes: a child provider only applies its own config map. */ export declare const ComponentConfigProvider: ({ value, children, }: ComponentConfigProviderProps) => import('react/jsx-runtime').JSX.Element; /** Returns the nearest ComponentConfigProvider's zustand store, or an empty fallback. */ export declare const useComponentConfigStore: () => ComponentConfigContextValue; export {}; //# sourceMappingURL=ComponentConfigProvider.d.ts.map