import type { PatientIdentity } from './patient-identity'; /** Host typeahead. Called 250 ms after typing stops, for non-blank trimmed * queries only. Abort a superseded call through `signal`. The host's order * is kept, so matches by phone or number stay. Reject on failure; `[]` is a * successful search with no match. */ export type PatientSearch = (query: string, options: { signal: AbortSignal; }) => Promise; export interface PatientPickerProps { value: string; onValueChange: (value: string) => void; /** Filtered on the client when `searchPatients` is absent. */ patients?: readonly PatientIdentity[]; /** Wins over `patients` for listing. */ searchPatients?: PatientSearch; /** Names `value` when neither the list nor a search result does. */ selectedLabel?: string; /** Already translated. Also the idle line under a search. */ placeholder: string; size?: 'sm' | 'md'; disabled?: boolean; } export declare function PatientPicker({ patients, searchPatients, ...props }: PatientPickerProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=patient-picker.d.ts.map