import type { Dimension, Group, GroupConfig, MeasureConfig, AggregationType, PivotTableState } from '@mindfiredigital/pivothead'; import type { PivotHeadHost } from './host'; import type { PivotDataRecord, FormatOptions } from '../../types/types'; import { FieldInfo, LayoutSelection } from '@mindfiredigital/pivothead'; export declare function getState(host: PivotHeadHost): PivotTableState; export declare function sort(host: PivotHeadHost, field: string, direction: 'asc' | 'desc'): void; export declare function setMeasures(host: PivotHeadHost, measures: MeasureConfig[]): void; export declare function setDimensions(host: PivotHeadHost, dimensions: Dimension[]): void; export declare function setGroupConfig(host: PivotHeadHost, groupConfig: GroupConfig | null): void; export declare function setAggregation(host: PivotHeadHost, type: AggregationType): void; export declare function formatValue(host: PivotHeadHost, value: unknown, field: string): string; export declare function getGroupedData(host: PivotHeadHost): Group[]; export declare function getData(host: PivotHeadHost): PivotDataRecord[]; export declare function getProcessedData(host: PivotHeadHost): unknown; export declare function updateFieldFormatting(host: PivotHeadHost, field: string, format: FormatOptions): void; export declare function getAvailableFields(host: PivotHeadHost): FieldInfo[]; export declare function getSupportedAggregations(): AggregationType[]; export declare function setMeasureAggregation(host: PivotHeadHost, field: string, aggregation: AggregationType): void; export declare function buildLayout(host: PivotHeadHost, selection: LayoutSelection): void; export declare function getFieldAlignment(host: PivotHeadHost, field: string): string;