import type { FunctionComponent, ReactNode } from 'react'; import type { ComboBoxProps, NoChildrenProp, FormControlProps, MenuProps } from '@pega/cosmos-react-core'; import type { EmailComposerProps, EmailUser } from './Email.types'; export interface EmailSelectorProps extends NoChildrenProp, Pick { /** participants */ participants: EmailComposerProps['participants']; /** default selections */ selectedItems: EmailUser['emailAddress'][]; /** selectedItems */ onSelectedItemChange: (selectedItems: EmailUser['emailAddress'][], label: ReactNode) => void; /** Callback fired when the Combobox input value changes. */ onFilterChange: (filterValue: string) => void; /** Callback to fetch more rows */ onLoadMore?: (filterValue: string) => void; /** * Callback to handle external entry validation * If returned true considers the entry to be a valid entry */ externalValidator?: EmailComposerProps['externalValidator']; status?: FormControlProps['status']; info?: FormControlProps['info']; compose?: boolean; comboBoxHandle?: ComboBoxProps['handle']; } declare const EmailSelector: FunctionComponent>; export default EmailSelector; //# sourceMappingURL=EmailSelector.d.ts.map