import { KeyValue } from '@angular/common'; import { DataID, DataName, DataSource, DataSourceMap } from '../entities'; export declare function createDataSourceMap(input: KeyValue[]): DataSourceMap; export declare function parseSource(str: string, converter: (v: string) => T): [DataSource, T]; export declare function parseDataMarketId(str: string): [DataSource, string]; export declare function createDataMemberId(bet: T): string; export declare function createDataMemberName(bet: T): string; export declare function createDataMarketId(dataSource: DataSource | undefined, marketId: string): string; export declare function getValueOnly(value: string): string; export declare function isArtemisDataSource(value: DataSource): boolean; export declare class Converter { static betsToKeyValue(bets: T[]): KeyValue[]; static sourceToBet(list: string[]): DataID[]; static sourceToKeyValue(list: string[]): KeyValue[]; static idOnly(id: string): string; }