import { type RefObject } from "react"; import { type ColDef, type ColumnResizedEvent, type GridReadyEvent } from "ag-grid-community"; import { type IAttributeOrMeasure } from "@gooddata/sdk-model"; import { type IRepeaterChartProps } from "../publicTypes.js"; export declare const MANUALLY_SIZED_MAX_WIDTH = 2000; export declare const MANUALLY_SIZED_MIN_WIDTH = 50; export declare const AUTO_SIZED_MAX_WIDTH = 500; export declare function useResizing(columnDefs: ColDef[], items: IAttributeOrMeasure[], props: IRepeaterChartProps): { containerRef: RefObject; onColumnResized: (columnEvent: ColumnResizedEvent) => void; onGridReady: (readyEvent: GridReadyEvent) => void; onGridSizeChanged: () => void; }; //# sourceMappingURL=useResizing.d.ts.map