import type { InitialListParsedState, ListState, UseListResult } from "../types.js"; import type { UseListParsedStateProps } from "./useListParsedState.js"; import type { UseListStateProps } from "./useListState.js"; interface UseListProps extends UseListParsedStateProps, Omit { initialState?: Partial; controlledState?: Partial; } /** * Take array of items as a argument with params described what type of list initial data represents. */ export declare const useList: ({ items, getItemId, defaultExpandedState, withExpandedState, initialState: initialValues, controlledState, }: UseListProps) => UseListResult; export {};