import { AggFunc, PivotConfig } from './types';
/** All available aggregation functions */
export declare const AGG_FUNCS: AggFunc[];
/** Field info for available fields */
export interface FieldInfo {
    field: string;
    header: string;
}
/** Callbacks for panel interactions */
export interface PanelCallbacks {
    onTogglePivot: (enabled: boolean) => void;
    onAddFieldToZone: (field: string, zone: 'rowGroups' | 'columnGroups') => void;
    onRemoveFieldFromZone: (field: string, zone: 'rowGroups' | 'columnGroups') => void;
    onAddValueField: (field: string, aggFunc: AggFunc) => void;
    onRemoveValueField: (field: string) => void;
    onUpdateValueAggFunc: (field: string, aggFunc: AggFunc) => void;
    onOptionChange: (option: 'showTotals' | 'showGrandTotal', value: boolean) => void;
    getAvailableFields: () => FieldInfo[];
}
/**
 * Render the complete pivot panel content.
 * Returns a cleanup function that removes all event listeners and DOM elements.
 */
export declare function renderPivotPanel(container: HTMLElement, config: PivotConfig, isActive: boolean, callbacks: PanelCallbacks): () => void;
//# sourceMappingURL=pivot-panel.d.ts.map