import type { ColorsKey, PickArrayItem } from '../../shared'; export declare type TDictShape = { emap: { [x: string]: string | number; [x: number]: string | number; }; colors: { [x: string]: string; [x: number]: string; }; options: { key: string | number; label: string; value: number | string; color?: ColorsKey; }[]; }; export declare type TDictItem = Omit, 'key'>; export declare const listToDict: (list?: TDictItem[]) => TDictShape; export declare const convertToOptionList: (list: Row[], labelName?: keyof Row, valueName?: keyof Row) => { key: any; label: any; value: any; color: any; }[]; export declare const convertListToDict: (list: Row[], labelName?: keyof Row, valueName?: keyof Row) => TDictShape;