import { OrientationEnum } from "../mmviz-common/index"; import { LayoutScale } from "./scale"; export declare function getBarDomain(dataArray: any, valueMap: any): any; /** * return a bar layout creator which is a function that maps data to visual elements * it is able to accept user defined base for the bar chart by providing `valueBaseMap` in dataModel, by default the * bar starts at 0 * @param {OrientationEnum} orientationEnum * @param {string} colorScaleKey * @returns a function which will calculate the viewModel (pixel) that is mapped from dataModel (actual data) * {(dataModel, layoutScale: LayoutScale) => () => {keyMap: (d) => any; dataArray: any[]}} */ export declare function barLayoutCreator(orientationEnum?: OrientationEnum, colorScaleKey?: string): (dataModel: any, layoutScale: LayoutScale) => () => { keyMap: (d: any) => any; dataArray: any[]; };