import type { Schema, DenormalizeNullable } from '@rest-hooks/react'; import { State, ExpiryStatus } from '@rest-hooks/react'; import { ReadShape, ParamsFromShape } from '../endpoint/index.js'; /** * @deprecated use https://resthooks.io/docs/api/Controller#getResponse directly instead * * Selects the denormalized form from `state` cache. * * If `result` is not found, will attempt to generate it naturally * using params and schema. This increases cache hit rate for many * detail shapes. * * @returns {denormalizedValue, expiryStatus, expiresAt} */ export default function useDenormalized, 'getFetchKey' | 'schema' | 'options'>>(shape: Shape, params: ParamsFromShape | null, state: State, /** @deprecated */ denormalizeCache?: any): { data: DenormalizeNullable; expiryStatus: ExpiryStatus; expiresAt: number; }; //# sourceMappingURL=useDenormalized.d.ts.map