import * as PIXI from 'pixi.js-legacy'; import { HangingGardenColumnIndex, HangingGardenProps } from './models/HangingGarden'; import useHangingGardenData from './hooks/useHangingGardenData'; import useHangingGardenErrorMessage from './hooks/useHangingGardenErrorMessage'; import useHangingGardenGetData from './hooks/useHangingGardenGetData'; /** * The Hanging Garden component renders you a Garden based on supplied parameters. * * @param columns The data to be used by the Garden, sorted into Columns. * @param highlightedColumnKey The Header key of the column that should be highlighted. * @param highlightedItem The item object of the Item that should be highlighted. * @param itemKeyProp An key in the item object that should be used as an identifier. preferably unique. * @param itemHeight The height of items in the garden. All items will be same height. Defaults to 24 * @param itemWidth The width of items in the garden. All items will be same widht. * @param renderHeaderContext Instructions telling the garden how the headers should look. * @param renderItemContext Instructions telling the garden how the items should look. * @param getItemDescription Instruction telling the garden how to get what is shown in expanded columns * @param onItemClick click handler that will be attached to each item in the garden. * @param headerHeight The height of the column header. Defaults to 32, * @param provideController Returns a ref. this contains the renderGarden function. Used to trigger rerenders at will. * @param backgroundColor Backgroun color for the garden. Defaults to white(0xffffff), */ declare function HangingGarden({ columns, highlightedColumnKey, highlightedItem, itemKeyProp, itemHeight, itemWidth, renderHeaderContext, renderItemContext, getItemDescription, onItemClick, headerHeight, provideController, backgroundColor, }: HangingGardenProps): JSX.Element; export { HangingGardenProps, HangingGardenColumn } from './models/HangingGarden'; export { ItemRenderContext, RenderItem } from './models/RenderContext'; export { useHangingGardenData, useHangingGardenErrorMessage, useHangingGardenGetData, PIXI }; export default HangingGarden;