import type { ApiClient } from '@riverbankcms/api/request';
import { type BuiltInReferenceKind } from '@riverbankcms/content-model';
import type { EntryPickerWidgetAdapter, LinkWidgetAdapters, ReferenceWidgetAdapter } from '@riverbankcms/editor-blocks';
type BuiltInReferenceWidgetAdapters = Record<BuiltInReferenceKind, ReferenceWidgetAdapter>;
export declare function createPreviewLinkAdapters(previewClient: ApiClient): LinkWidgetAdapters;
export declare function createPreviewEntryPickerAdapter(previewClient: ApiClient): EntryPickerWidgetAdapter;
/**
 * Builds the preview adapter record by iterating the canonical `referenceLoaders`
 * map. The kind ↔ loader pairing is structurally impossible to mis-couple — each
 * adapter is constructed by looking the loader up via the same `BuiltInReferenceKind`
 * key used to index into the chrome map.
 */
export declare function createPreviewReferenceAdapters(previewClient: ApiClient, fallbackSiteId?: string): BuiltInReferenceWidgetAdapters;
export declare const __testUtils: {
    clearCaches: () => void;
};
export {};
