import { UI_ATTRIBUTES } from './consts'; export interface UIItemLike { id: string; categories?: string[]; } export interface UIItemProps { [UI_ATTRIBUTES.ITEM]: string; [UI_ATTRIBUTES.CATEGORIES]?: string; } /** * Get data attribute props for a UI item. * Spread these onto the wrapper element for CSS-based visibility control. */ export declare function getUIItemProps = Record>(item: UIItemLike, extra?: T): UIItemProps & T;