import type { FC } from "react";
import type { BasicLeftTreeProps } from "../../Basic";

/**
 * 请求参数
 */
export interface Params {
  /** 企业id */
  eqCorpinfoId?: string;
  /** 父级部门id */
  eqParentId?: string;
}

/**
 * 组件属性
 */
export interface DepartmentLeftTreeProps extends Omit<BasicLeftTreeProps, "treeData" | "nameKey" | "idKey" | "childrenKey"> {
  /** 请求参数 */
  params?: Params;
}

/**
 * 部门左侧树组件（港务局版本）
 */
declare const DepartmentLeftTree: FC<DepartmentLeftTreeProps>;

export default DepartmentLeftTree;
