import { ComponentType } from 'react'; import { Context } from 'react'; import { ProviderContextType } from './util/definitions'; import { Schema } from 'enty'; export declare type ProviderConfig = { schema?: Schema; results?: Array<{ responseKey: string; payload: any; type?: 'ENTY_RECEIVE' | 'ENTY_ERROR' | 'ENTY_FETCH'; }>; }; declare type ProviderFactoryReturn = { Context: Context; Provider: ComponentType; ProviderHoc: Function; }; export default function ProviderFactory(config: ProviderConfig): ProviderFactoryReturn; export {};