import useGet from './useGet'; import type { RequestState } from './../typings'; declare type HookRunFunction = (params: { id?: string; body?: object; }) => Promise; declare const usePost: (path: string) => [RequestState, HookRunFunction]; declare const usePut: (path: string) => [RequestState, HookRunFunction]; declare const useDelete: (path: string) => [RequestState, HookRunFunction]; export { usePost, usePut, useDelete, useGet };