import { Context } from 'react'; import { ProviderContextType } from './util/definitions'; import { Schema } from 'enty'; declare type RequestHookConfig = { name: string; requestAction: Function; schema?: Schema; }; declare type Config = { key?: string; responseKey?: string; }; export default function RequestHookFactory(context: Context, factoryConfig: RequestHookConfig): (config?: Config) => import("./data/Message").Message; export {};