import * as React from 'react'; import { DataFrame, RegistryItem, FieldMatcherInfo } from '@grafana/data'; 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; onChange: (options: T) => void; }