import * as React from "react"; import { FieldProps } from "../Field/Field"; import { ThemeResult } from "components/Theme/Theme"; export interface SelectOption { label: string; value: any; description?: string; } export interface SearchFieldProps extends FieldProps { onChange(value?: any): any; theme: ThemeResult; value: any; required?: boolean; placeholder?: string; hideResults?: boolean; results: SelectOption[]; fieldStyle?: React.CSSProperties; optionStyle?: React.CSSProperties; closeMenuOnSelect?: boolean; emptyValue?: any; actionOption?: JSX.Element; emptyText?: string; } declare const _default: React.FunctionComponent>; export default _default;