import { type ReactNode } from 'react';
import type { ApiClient } from '@riverbankcms/api/request';
import { type MediaAssetIndexItem, type Theme } from '@riverbankcms/blocks';
import type { FieldWidgetComponent } from '@riverbankcms/block-form/client';
import { __testUtils, createPreviewEntryPickerAdapter, createPreviewLinkAdapters, createPreviewReferenceAdapters } from './widgetAdapters';
export declare function PreviewFormProvider({ siteId: rawSiteId, theme, previewClient, bearerToken, supabaseUrl, mediaAssets, children, }: {
    siteId: string;
    theme?: Theme | null;
    previewClient: ApiClient;
    bearerToken?: string | null;
    supabaseUrl?: string;
    mediaAssets?: MediaAssetIndexItem[];
    children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare const previewWidgetOverrides: {
    readonly link: FieldWidgetComponent;
    readonly media: FieldWidgetComponent;
    readonly richText: FieldWidgetComponent;
    readonly reference: FieldWidgetComponent;
    readonly backgroundColor: FieldWidgetComponent;
    readonly backgroundGradient: FieldWidgetComponent;
    readonly entryPicker: FieldWidgetComponent;
    readonly iconPicker: FieldWidgetComponent;
    readonly buttonVariant: FieldWidgetComponent;
};
export type { FieldWidgetComponent };
export { __testUtils, createPreviewEntryPickerAdapter, createPreviewLinkAdapters, createPreviewReferenceAdapters };
