export declare function array2obj(array: any, key: any): {}; export declare function formatData(data: any[], key: string): any; export declare const syncSeriesTitle: (data: any) => any; export declare const mSort: (target: number[], type?: 'in' | 'de') => number[]; interface getDataSeriesStyleProps { map?: { fieldName: string; displayName: string; }; } /** * * @param dataMemo 数据 * @param DataSeries 数据系列配置 * @returns 配置array */ export declare const getDataSeriesStyle: , U extends getDataSeriesStyleProps>(dataMemo: T, DataSeries: U[], other?: { signKey: 'item' | 'category'; }) => any; export declare const checkImgExists: (imgurl: any) => Promise; export declare const machiningSvgPath: (str?: string) => string; export declare const getDecoratePosition: (dataLen: number, i: number, { barWidth, barGap }: { barWidth: number; barGap: number; }) => number; export declare const getUsableSvgPath: (value?: string) => string; /** 处理显示字符数*/ export declare const getChars: (str: string, charsNum?: any) => string; export {};