import React from 'react'; import type { IUserProfile } from '../../apis/udt-types'; export interface UserSelectProps { /** * 支持传入完整的用户资料(IUserProfile)/ 列表(IUserProfile[]) * 或仅传入用户 ID(string)/ 列表(string[])。 */ value?: IUserProfile | IUserProfile[] | string | string[]; onChange?: (value: IUserProfile | IUserProfile[] | undefined) => void; defaultValue?: IUserProfile | IUserProfile[] | string | string[]; mode?: 'single' | 'multiple'; placeholder?: string; fetchUsers?: (keyword: string) => Promise; } export declare const UserSelect: React.FC;