import { CollectionProxy } from 'onekijs-framework'; import TreeService from '../TreeService'; import { TreeItem, TreeState, UseTreeOptions } from '../typings'; declare const useTreeInitialState: >(dataSource: string | T[] | undefined | CollectionProxy, TreeService>>, options: UseTreeOptions) => TreeState; export default useTreeInitialState;