import { type Column } from '@sisense/sdk-data'; import { type JaqlPanel } from '@sisense/sdk-pivot-query-client'; import { type AnyColumn, type PivotTableDataOptions, type StyledColumn } from '../../../../../domains/visualizations/core/chart-data-options/types'; export declare const getPivotDataOptionByJaqlIndex: (dataOptions: PivotTableDataOptions, dataOptionIndex?: number) => AnyColumn | undefined; export declare const getPivotDataOptionIdByJaqlIndex: (dataOptions: PivotTableDataOptions, dataOptionIndex?: number) => string | undefined; export declare const getNumberFormatConfig: (dataOption?: AnyColumn) => Required; export declare const getDateFormatConfig: (dataOption: Column | StyledColumn) => string | undefined; /** * Resolves the mask for a date MEASURE cell. * * Masks come from `DimensionalLevelAttribute.getDefaultFormatForGranularity`, so a date measure * reads like the date dimension beside it. `getDateFormatConfig` is not used: it takes a dimension * column and falls back to `getDefaultDateFormat` (axis-section.ts), which answers days as * `M/d/yy` where this path answers `yyyy-MM-dd`. * * The panel-item fallback is what a measure with no level attribute resolves through, such as a * formula date measure. * * @param dataOption - The values data option for this cell, or undefined when there is none. * @param jaqlPanelItem - The panel item, used when the option carries no format of its own. * @returns The mask to format the cell with. * @internal */ export declare const resolvePivotDateMeasureFormat: (dataOption: AnyColumn | undefined, jaqlPanelItem: JaqlPanel | undefined) => string;