import { FunctionComponent } from 'react';
import { ListViewItem } from '../../base/ListView/types';
import * as Types from '../../../../shared-logic/src/CustomField/CustomMetric/types';
export declare type PickerThing = ListViewItem<{
    type?: string;
}> & {
    type: Types.PropertyType;
};
export declare type PickerItem = {
    id: string;
    title: string;
    things: Array<PickerThing>;
};
export declare type ItemPickerProps = {
    show: boolean;
    title: string;
    items: Array<PickerItem>;
    onClose: () => void;
    onSave: (selected: PickerThing) => void;
};
export declare const ItemPicker: FunctionComponent<ItemPickerProps>;
