import { RequestOptions, RequestState } from './../../types'; interface GetFunctionParams { silent?: boolean; policy?: 'cache-first' | 'cache-and-network' | 'network-first' | 'no-cache'; } declare type GetFunction = (params?: GetFunctionParams) => Promise; declare function useGet(path: string, options?: Partial): [RequestState, GetFunction]; export default useGet;