/** * This is a hook to use the AssetSortingContext. * * @requires AssetSortingProvider * @example * import { useAssetSorting } from "@trackunit/react-core-hooks"; * const { sortingState, setSortBy } = useAssetSorting(); * * const initialSort = useMemo( * () => ({ * property: { * label: sortingState.sortBy, * value: sortingState.sortBy, * }, * order: sortingState.order, * }), * [sortingState] * ); * * return ( * * ); * @see { AssetSortingState} */ export declare const useAssetSorting: () => import("@trackunit/iris-app-runtime-core-api").AssetSortingState;