import { InputProps, ModalProps } from 'antd';
import { ReactNode } from 'react';
import { User, UserWhereInput } from '@knockout-js/api/ucenter';
import { ProTableProps } from '@ant-design/pro-components';
declare enum UserUserType {
    Account = "account",
    Member = "member"
}
export interface UserSelectLocale {
    placeholder: string;
    title: string;
}
export interface UserSelectProps {
    /**
     * 值
     */
    value?: User | User['id'];
    /**
     * 禁用
     */
    disabled?: boolean;
    /**
     * orgId的用户
     */
    orgId?: string;
    /**
     * orgRoleId的用户
     */
    orgRoleId?: string;
    /**
     * 过滤用户类型
     */
    userType?: UserUserType;
    /**
     * 查询条件
     */
    where?: UserWhereInput;
    /**
     * ant InputProps api
     */
    inputProps?: InputProps;
    /**
     * ant ModalProps api
     */
    modalProps?: ModalProps;
    /**
     * ProTable api
     */
    proTableProps?: ProTableProps<User, Record<string, any>, 'text'>;
    /**
     * 禁用时替换search的显示位置
     */
    suffix?: ReactNode;
    /**
    * 有缓存列表可以快速提供初始化值配合value传入的是id处理
    */
    dataSource?: User[];
    /**
     * changeValue=id: onChange的第一个参数值就为id的值
     */
    changeValue?: keyof User;
    /**
     * 值变更事件 (value?: User[keyof User] | User, original?: User) => void;
     */
    onChange?: (value?: User[keyof User] | User, original?: User) => void;
}
declare const OrgSelect: (props: UserSelectProps) => import("react/jsx-runtime").JSX.Element;
export default OrgSelect;
