import { State, EndpointInterface, FetchFunction } from '@rest-hooks/react'; import { FetchShape, ParamsFromShape } from '../endpoint/index.js'; /** * Gets meta for a fetch key. * @see https://resthooks.io/docs/api/useMeta */ export default function useMeta, 'key'> | Pick, 'getFetchKey'>, Args extends (E extends { key: any; } ? readonly [...Parameters] : readonly [ParamsFromShape]) | readonly [null]>(endpoint: E, ...args: Args): StateMeta | null; type StateMeta = State['meta'][string]; export {}; //# sourceMappingURL=useMeta.d.ts.map