import * as React from 'react'; import type { IStyleFunctionOrObject } from '@fluentui/react/lib/Utilities'; import type { IPersonaProps } from '@fluentui/react/lib/Persona'; import type { ISelectedItemProps } from '../../SelectedItemsList.types'; import type { ISelectedPersonaStyles, ISelectedPersonaStyleProps } from './SelectedPersona.types'; import type { ITheme } from '@fluentui/react/lib/Styling'; type ISelectedPersonaProps = ISelectedItemProps & { isValid?: (item: TPersona) => boolean; canExpand?: (item: TPersona) => boolean; getExpandedItems?: (item: TPersona) => Promise; /** * Call to provide customized styling that will layer on top of the variant rules. */ styles?: IStyleFunctionOrObject; /** * Theme for the component. */ theme?: ITheme; }; /** * A selected persona with support for item removal and expansion. * * To use the removal / expansion, bind isValid / canExpand / getExpandedItems * when passing the onRenderItem to your SelectedItemsList */ declare const SelectedPersonaInner: React.MemoExoticComponent<((props: ISelectedPersonaProps) => React.JSX.Element)>; export declare const SelectedPersona: typeof SelectedPersonaInner; export {};