export type SearchFieldSize = 'sm' | 'md' | 'lg'; export type SearchFieldShape = 'default' | 'subtle'; export type SearchFieldValue = string; export interface SearchFieldOption { id: string; label: string; group?: string; disabled?: boolean; } type SearchFieldBaseProps = { options: SearchFieldOption[]; label: string; placeholder?: string; disabled?: boolean; size?: SearchFieldSize; shape?: SearchFieldShape; error?: string; onBlur?: React.FocusEventHandler; onInputChange?: (term: string) => void; }; export type SearchFieldSingleProps = SearchFieldBaseProps & { multiple?: false; value: SearchFieldValue | null; onChange: (newSelected: SearchFieldValue | null) => void; }; export type SearchFieldMultiProps = SearchFieldBaseProps & { multiple: true; value: SearchFieldValue[]; onChange: (newSelected: SearchFieldValue[]) => void; }; export type SearchFieldProps = SearchFieldSingleProps | SearchFieldMultiProps; export declare const SearchField: (props: SearchFieldProps) => import("react/jsx-runtime").JSX.Element; export {};