import { Attribute, Column } from '@sisense/sdk-data';
import { PivotTableDataOptions } from '../../../../domains/visualizations/core/chart-data-options/types';
import { DataOptionLocation, DrilldownSelection } from '../../../../types';
/**
 * Gets the initial dimension location for pivot table drilldown.
 *
 * @param dataOptions - The data options of the pivot table.
 * @param drilldownTarget - The target of the drilldown (Attribute or DataOptionLocation).
 * @param drilldownSelections - The current drilldown selections.
 * @returns The initial dimension location.
 */
export declare function getInitialDimensionLocation(dataOptions: PivotTableDataOptions, drilldownTarget: Attribute | DataOptionLocation, drilldownSelections: DrilldownSelection[]): DataOptionLocation | undefined;
/**
 * Applies a drilldown dimension to pivot table data options.
 * Replaces the target dimension (first row or column that doesn't match the drilldown dimension).
 */
export declare function applyDrilldownDimensionToPivot(dataOptions: PivotTableDataOptions, drilldownDimensionLocation: DataOptionLocation, drilldownDimension: Column): PivotTableDataOptions;
