import { A as AsyncState, j as StateBase } from '../types-5EvFF6wb.js'; import 'keyweaver'; import 'react'; declare const useMappedValue: { /** * Hook to {@link mapper map} and retrieve a value from a {@link state}. * @param mapper - Function that maps the value. * @param isEqual - Optional comparison function to determine equality of the mapped values. */ (state: AsyncState, mapper: (value: T | undefined, isLoaded: boolean, error: E | undefined) => V): V; /** * Hook to {@link mapper map} and retrieve a value from a {@link state}. * @param mapper - Function that maps the value. * @param isEqual - Optional comparison function to determine equality of the mapped values. */ (state: StateBase, mapper: (value: T) => V): V; }; export { useMappedValue as default };