import { RefObject } from 'react';
import { ToggleButtonPlacement } from './collapsible-sidebar';
type UseResizeParams = {
    panelElement: RefObject<HTMLDivElement>;
    onWidthChange?: (newWidth: number | string) => void;
    sideBarPlacement: ToggleButtonPlacement;
    isResizeEnabled: boolean;
    isMinimized: boolean;
};
export declare function useResize({ panelElement, onWidthChange, sideBarPlacement, isResizeEnabled, isMinimized, }: UseResizeParams): {
    isResizing: boolean;
    shouldRespondToBorderClick: boolean;
    onMouseDownHandler: () => void;
};
export {};
