/// type Orientation = 'row' | 'col' | 'cell'; type DraggingState = { draggedCellOrientation: Exclude; mousePos: number; initialOffset?: number; originalCellSize?: { width: number; height: number; }; }; /** 基于 Floating UI 定位单个表格手柄的 Hook */ export declare function useTableHandlePosition(orientation: Orientation, show: boolean, referencePosCell: DOMRect | null, referencePosTable: DOMRect | null, draggingState?: DraggingState): { isMounted: boolean; ref: (node: HTMLElement | null) => void; style: React.CSSProperties; }; /** 统一返回行、列、单元格手柄的位置数据 */ export declare function useTableHandlePositioning(show: boolean, referencePosCell: DOMRect | null, referencePosTable: DOMRect | null, draggingState?: DraggingState): { rowHandle: { isMounted: boolean; ref: (node: HTMLElement | null) => void; style: import("react").CSSProperties; }; colHandle: { isMounted: boolean; ref: (node: HTMLElement | null) => void; style: import("react").CSSProperties; }; cellHandle: { isMounted: boolean; ref: (node: HTMLElement | null) => void; style: import("react").CSSProperties; }; }; export {};