import { type ReactNode } from 'react'; /** * Defines slots into which children of this item should be rendered. There * are two special slots for the tooltip and the icon. Everything else will be * rendered into the freeform slot. */ type ItemSlots = { tooltip: ReactNode | null; icon: ReactNode | null; freeform: ReactNode[]; }; /** Iterates over child nodes to extract specific component slots. */ export declare function getItemSlots(children: ReactNode): ItemSlots; export {};