import { IMenuDataWithState } from '../../types';
/**
 * Manage the expanded state for one sidebar menu item.
 * @param {IMenuDataWithState} item - Sidebar item to control.
 * @returns {Object} The open state, click handler, and child metadata.
 */
export declare const useCollapse: (item: IMenuDataWithState, defaultOpen?: boolean) => {
    isOpen: boolean;
    handlerClick: () => void;
    hasChildren: boolean | undefined;
};
//# sourceMappingURL=useCollapse.d.ts.map