export type PivotTheme = "light" | "dark"; export type PivotDensity = "comfortable" | "compact" | "dense"; export type PivotAggregator = "sum" | "avg" | "count" | "min" | "max"; export interface PivotValueField { field: string; label?: string; aggregator: PivotAggregator; format?: Intl.NumberFormatOptions & { locale?: string; }; } export interface PivotProps extends Record { data?: Array>; rows?: string[]; columns?: string[]; values?: PivotValueField[]; filters?: Record; valueOrder?: string[]; searchable?: boolean; searchTerm?: string; searchPlaceholder?: string; showTotals?: boolean; enableFilters?: boolean; theme?: PivotTheme; density?: PivotDensity; emptyLabel?: string; loading?: boolean; loadingLabel?: string; error?: boolean; errorMessage?: string; virtualized?: boolean; viewportHeight?: number; rowHeight?: number; overscan?: number; showToolbar?: boolean; } export interface PivotPublicState { searchTerm?: string; rowKeys: string[]; columnKeys: string[]; filters?: Record; valueOrder?: string[]; } export interface PivotAggregateDetail { rows: PivotRowGroup[]; columns: PivotColumnGroup[]; values: PivotValueField[]; cells: PivotCell[]; } interface PivotRowGroup { key: string; labels: string[]; } interface PivotColumnGroup { key: string; labels: string[]; } interface PivotCell { rowKey: string; columnKey: string; valueField: string; formatted: string; value: number | null; isTotal: boolean; } export declare function registerPivotGridElement(): CustomElementConstructor | undefined; export {}; //# sourceMappingURL=pivot-grid.d.ts.map