/** Function to transform the data to desired output */ export type IMapData = (result: any) => Data | Promise;