import type { Item, Layout } from '../types'; /** * Determines if a sidebar item should be treated as a "folder", * i.e. a collapsible group, depending on the layout, its type, * whether it has children, and special slot rules. * * @param layout - The sidebar layout ('client' or 'reference') * @param item - The sidebar item to check * @param hasEmptySlot - True if there is an empty slot to display as a group (client layout only) * @returns True if the item should be rendered as a folder/group node */ export declare const isSidebarFolder: (layout: Layout, item: Item, hasEmptySlot: boolean, hideOperationDefaultExamples: boolean) => item is Item & { children?: Item[]; }; //# sourceMappingURL=is-sidebar-folder.d.ts.map