import { default as React } from 'react'; import { FieldWidgetComponentProps } from './types.js'; export interface LookupOption { value: string | number; label: string; description?: string; [key: string]: any; } /** * Lookup field for selecting related records. * Supports single and multi-select with search. * * When a `dataSource` is provided (either via props, via `field.dataSource`, * or via SchemaRendererContext), the dialog will dynamically load records * from the referenced object using `DataSource.find()`. * Falls back to static `options` when no DataSource is available. */ export declare function LookupField({ value, onChange, field, readonly, error: fieldError, ...props }: FieldWidgetComponentProps): React.JSX.Element;