import { CSSProperties, MouseEvent as ReactMouseEvent, RefObject } from 'react';
import { PanelRuntimeDescriptor } from '../types';
type UseOverlayPanelResizeParams = {
    areaId: string;
    overlay: boolean;
    panel: PanelRuntimeDescriptor;
    selected: boolean;
};
/**
 * Own the local resize lifecycle for overlay panels.
 */
export declare const useOverlayPanelResize: ({ areaId, overlay, panel, selected, }: UseOverlayPanelResizeParams) => {
    containerRef: RefObject<HTMLDivElement | null>;
    resizeHandleStyle: CSSProperties;
    slotStyle: {
        width: string;
        minWidth: string;
        maxWidth: string;
        height: string;
        minHeight?: undefined;
        maxHeight?: undefined;
    } | {
        width: string;
        height: string;
        minHeight: string;
        maxHeight: string;
        minWidth?: undefined;
        maxWidth?: undefined;
    };
    handleResizeStart: (event: ReactMouseEvent<HTMLDivElement>) => void;
};
export {};
//# sourceMappingURL=useOverlayPanelResize.d.ts.map