import { Key } from 'react-aria-components'; import { ItemListData } from './types'; type UseListParams = { items?: ItemListData[]; onItemUpdated: (id: Key, newState: boolean) => void; }; export declare const useListWithoutHref: (items: UseListParams['items']) => ItemListData[] | undefined; export declare const useList: ({ items, onItemUpdated }: UseListParams) => { listItems: ItemListData[] | undefined; setListItems: import("react").Dispatch>; updateItemValue: (id: Key, newItemValue: Partial) => void; updateItemToggleState: (id: Key, toggleValue: boolean) => void; }; export {}; //# sourceMappingURL=hooks.d.ts.map