import * as PropTypes from 'prop-types'; import { ComponentPropsWithRef, ReactNode } from 'react'; import DataItem from '../../util/DataItem'; export type DataItemType> = T extends string | number ? DataItem : T; type FilterInputType = boolean | 'search'; export interface Props = string> extends Omit, 'onChange'> { value: string; loading?: boolean | null; loadError?: ReactNode; matches: DataItemType[]; onSearch: (s: string) => void; onChange: (s: string, item?: DataItemType) => void; itemTooltip?: ((item: DataItemType) => ReactNode) | null; disabled?: boolean | null; emptyMessage?: ReactNode; autoComplete?: boolean | null; validatable?: boolean | null; isPristine?: boolean | null; validationErrors?: string | string[] | null; filterInput?: FilterInputType | null; } export declare const propTypes: PropTypes.ValidationMap>>; export {}; //# sourceMappingURL=types.d.ts.map