import type * as React from 'react'; import { type DataFrame, type RegistryItem, type FieldMatcherInfo } from '@grafana/data'; import { type MatcherScope } from '@grafana/schema'; export interface FieldMatcherUIRegistryItem extends RegistryItem { component: React.ComponentType>; matcher: FieldMatcherInfo; optionsToLabel: (options: TOptions) => string; } export interface MatcherUIProps { matcher: FieldMatcherInfo; id?: string; data: DataFrame[]; options: T; scope?: MatcherScope; onChange: (options: T, scope?: MatcherScope) => void; }