export interface CollapseConfig {
    enabled: boolean;
    handleIds: string[];
    collapsed?: boolean;
    onCollapseChange?: (collapsed: boolean) => void;
}
export interface UseNodeCollapseProps {
    nodeId: string;
    collapseConfig?: CollapseConfig;
}
interface UseNodeCollapseReturn {
    isCollapsed: boolean;
    isCollapseEnabled: boolean;
    hasCollapsibleConnections: boolean;
    expand: () => void;
    collapse: () => void;
    toggle: () => void;
}
export declare function useNodeCollapse({ nodeId, collapseConfig, }: UseNodeCollapseProps): UseNodeCollapseReturn;
export {};
//# sourceMappingURL=useNodeCollapse.d.ts.map