import { IContact } from '@cee-eng/hydrajs/@types/models/contact'; import { IContactListParams } from '@cee-eng/hydrajs/@types/models/contacts/contact'; import React from 'react'; export interface IProps { onSelect: (contacts: IContact[]) => any; placeholder?: string; contactListParams?: IContactListParams; disabled?: boolean; selectedContacts?: IContact[]; contactsToExclude?: IContact[]; disableContactRemoval?: IContact[]; className?: string; id: string; typeAheadSize?: 'sm' | 'md' | 'lg'; showSelectedContacts?: boolean; clearButton?: boolean; multiple?: boolean; debounceDelay?: number; autoFocus?: boolean; name?: string; useCache?: boolean; minLength?: number; maxResults?: number; isUpdating?: boolean; renderToken?: (option: any, props: any, idx: any) => string | React.ReactNode; } export interface IState { options: IContact[]; selectedContacts?: IContact[]; isLoading: boolean; isOpen: boolean; searchValue: string; focusedItemIndex: number | null; } export declare class ContactSelectorInternal extends React.Component { controller: AbortController; searchTimeout: NodeJS.Timeout | null; inputRef: React.RefObject; static defaultProps: Partial; constructor(props: IProps); getSelectedLabel: (contact: IContact) => string; getContactsSelected: (contacts: IContact[]) => IContact[]; isValidContactForQuery: (c: IContact) => boolean; componentDidUpdate(prevProps: IProps): void; onChange: (contacts: IContact[]) => Promise; handleSearch: (query: string) => Promise; handleInputChange: (value: string) => void; handleSelect: (event: any, selection: any) => void; handleRemoveContact: (contactToRemove: IContact) => void; handleKeyDown: (event: React.KeyboardEvent) => void; handleFocus: () => void; handleBlur: () => void; handleClear: () => void; onToggle: () => void; render(): React.JSX.Element; } //# sourceMappingURL=ContactSelectorInternal.d.ts.map