import { FunctionComponent } from 'react';
import { DataSet } from '../../../../shared-logic/src/DataSet/types';
import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
import { AcceptedTypes } from '../../../../shared-logic/src/CustomField/types';
export declare const CustomMetric: FunctionComponent<{
    dataSet: DataSet;
    metric: Types.Metric | undefined;
    onChange?: (metric: Types.Metric | undefined) => void;
    isEditing?: boolean;
    supportedTypes: AcceptedTypes[];
}>;
