import { type ReactNode } from 'react';
import type { SiteId } from '@riverbankcms/core';
import type { ReferenceWidgetAdapters } from './types';
type ReferenceWidgetContextValue = {
    siteId: SiteId;
    adapters: ReferenceWidgetAdapters | undefined;
};
export type ReferenceWidgetProviderProps = {
    siteId: SiteId;
    adapters?: ReferenceWidgetAdapters;
    children: ReactNode;
};
/**
 * ReferenceWidgetProvider - Provides siteId and adapters for reference field widgets
 *
 * @example
 * ```tsx
 * <ReferenceWidgetProvider siteId={siteId} adapters={referenceAdapters}>
 *   <ManifestForm ... />
 * </ReferenceWidgetProvider>
 * ```
 */
export declare function ReferenceWidgetProvider({ siteId, adapters, children }: ReferenceWidgetProviderProps): import("react/jsx-runtime").JSX.Element;
export declare function useReferenceWidgetContext(): ReferenceWidgetContextValue;
export {};
