import type { PivotModel } from "../../use-client-data-source"; import type { Column, GridSpec } from "../../../types.js"; import { type ColumnPin, type RowLeaf } from "@1771technologies/lytenyte-shared"; import type { ControlledPivotState } from "./use-pivot-state"; export interface PivotState { readonly columnState: { readonly ordering: string[]; readonly resizing: Record; readonly pinning: Record; }; readonly columnGroupState: Record; readonly rowGroupExpansions: Record; } export declare function usePivotColumns(pivotMode: boolean, pivotControlled: ControlledPivotState, model: PivotModel | undefined, leafs: RowLeaf[], filtered: number[], processor: null | undefined | ((columns: Column[]) => Column[])): Column[] | null;