import type { ReactNode } from 'react';
import type { FieldWidgetProps } from '@riverbankcms/block-form/client';
import type { LinkFieldConfig } from '@riverbankcms/block-form/client';
/**
 * LinkField - Adapter for new widget architecture
 *
 * Integrates LinkWidget with the FormBackend system.
 * Gets siteId and adapters from LinkWidgetContext to avoid prop drilling.
 *
 * Uses useField hook to properly subscribe to store changes and re-render
 * when the value updates.
 *
 * @example
 * ```tsx
 * <LinkWidgetProvider siteId={siteId} adapters={adapters}>
 *   <FormRenderer
 *     fields={fields}
 *     widgetOverrides={{ link: LinkField }}
 *   />
 * </LinkWidgetProvider>
 * ```
 */
export declare function LinkField({ path, backend, config }: FieldWidgetProps<LinkFieldConfig>): ReactNode;
