import { ArchAndShopSelectorProps, ArchAndShopValue, ArchNode, ShopNode } from './types'; export declare const getIds: (list: ShopNode[]) => number[]; /** 转换组织结构数据为Map */ export declare const convertArchMap: (data: ArchNode | ArchNode[]) => Record; /** 转换门店数据为Map */ export declare const convertShopMap: (data: ShopNode[]) => Record; /** 从组织机构中获取门店数据 */ export declare const getShopListFromArch: (data: ArchNode | ArchNode[]) => ShopNode[]; /** 获取数组最后一个元素 */ export declare const getLastValue: (array: T[]) => T; /** 通过组织机构id获取对应的全部门店 */ export declare const getShopListByArchIds: (archIds: number[] | undefined, archMap: Record, allShopList: ShopNode[]) => ShopNode[]; /** 将门店数据转换成以城市分组的树形结构 */ export declare const convertShopTree: (data: ShopNode[]) => { title: string; value: string; children: { children: { title: string; value: number; }[]; title: string; value: string; }[]; }[]; /** 通过树形组件的value获取shopIds */ export declare const getShopIdsFromTreeValue: (treeValue: ('all' | string | number)[] | undefined, cityGroup: Record, shopList: ShopNode[]) => number[] | undefined; /** 通过shopId获取树形组件的value */ export declare const getTreeValueFromShopIds: (shopIds: number[] | undefined, cityGroup: Record, shopMap: Record) => ('all' | string | number)[] | undefined; /** 初始化value的逻辑 */ export declare const initializeArchAndShopValue: (props: ArchAndShopSelectorProps, archList: ArchNode[], allShopList: ShopNode[], archMap: Record) => ArchAndShopValue;