import React from "react"; import { PersonListItem } from "../../dto/person/PersonListItem"; type PersonChooserKind = "user" | "contact" | "search"; /** * Person chooser props */ export type PersonChooserProps = { /** * Person ID */ personId: number; /** * Input name */ name?: string; /** * On change event * @param items The selected items * @param ids The selected IDs * @param kind The action kind */ onCheckItems?: (items: PersonListItem[], ids: number[], kind: PersonChooserKind) => void; }; /** * Person chooser * @param props Props * @returns Component */ export declare function PersonChooser(props: PersonChooserProps): React.JSX.Element; export {};