import { ChartAxes, ChartLegend, ChartSize } from '../types'; type Params = Partial<{ id: string; width: number; height: number; coordinateAxis: Record; chartBorder?: ChartSize; transformScale: number; isAllOnLeft: boolean; isAllOnRight: boolean; style: { legend: ChartLegend; axes: ChartAxes; }; position: string; updateComponent: (params: { id: string; chartBorder?: ChartSize; }) => void; }>; export declare function useChartResizer(props: Params): { chart: ChartSize; legend: { lineHeight: number; padding: number; width: number; height: number; placement: string; alignment: string; }; registerLegend: (ref: HTMLElement | null) => void; bind: { width: number; height: number; position: string | undefined; transformScale: number; chartSize: ChartSize; callback: ({ chartSize, isMouseUp, }: Partial<{ chartSize: ChartSize; isMouseUp: boolean; }>) => void; }; }; export {};