import { Theme } from '../../../styles'; interface CellColorProps { color: string; backgroundColor: string; } /** * Calculates text and background colors based on cell type and its content. * * If cell type is only 'value' and its content is a number: * - increase saturation of background color every 10% of maximum value * - makes the text color lighter when background becames too dark * * Otherwise, keep the default background and text color. * * @param theme * @param isOnlyValue True if cell type includes only 'value' * @param maxValue The maximum expected value for all the table * @param cellContent The cell's content * @returns An object containing the text and background colors */ export declare const calculateCellColor: (theme: Theme, isOnlyValue: boolean, maxValue: number, cellContent?: number | string) => CellColorProps; /** * Selects all the elements that has the given row and column numbers as its 'data-rownumber' and 'data-columnnumber' attributes */ export declare const selectPivotTableCellElements: (row: number, column: number) => NodeListOf; export {};