import { PropsWithChildren } from 'react';
import { CustomContextProviderProps } from '../../../types';
import { CustomWidgetComponent, CustomWidgetComponentProps } from './types.js';
/** @internal */
export type CustomWidgetsProviderAdapterProps = CustomContextProviderProps<CustomWidgetsContextAdapter<CustomWidgetComponentProps>>;
/** @internal */
export type CustomWidgetsContextAdapter<T = CustomWidgetComponentProps> = {
    customWidgetsMap: Map<string, CustomWidgetComponent<T>>;
};
/**
 * Custom Widget Provider Adapter component that allows passing external custom widgets context.
 *
 * Bridges pre-initialized custom widget data from an external wrapper to child React components.
 * Syncs the widget registry with customWidgetsMap on updates and cleans up on unmount.
 *
 * @internal
 */
export declare const CustomWidgetsProviderAdapter: React.FC<PropsWithChildren<CustomWidgetsProviderAdapterProps>>;
