import { Schema } from '@rest-hooks/react'; import { FetchShape, ParamsFromShape, BodyFromShape, ReturnFromShape } from '../endpoint/index.js'; /** Build an imperative dispatcher to issue network requests. * @deprecated use https://resthooks.io/docs/api/Controller#fetch */ export default function useFetchDispatcher(throttle?: boolean): , any>>(fetchShape: Shape & { update?: (...args: any) => Record any>; }, params: ParamsFromShape, body: BodyFromShape) => ReturnFromShape; //# sourceMappingURL=useFetchDispatcher.d.ts.map