import { CreateInferencer } from "@/types"; /** * CreateInferencer is a function that creates a Inferencer component. * * Inferencer will handle the data fetching and the infering parts, * then it will invoke the `renderer` function to generate the code. * The generated code will be used to render the component by `react-live`. * Its required to havee`additionalScope` prop when using packages other than `react` and `@pankod/refine-core`. * * @param config - Inferencer configuration. * @param config.type - Infering type. * @param config.additionalScope - Additional scope for live code. * @param config.renderer - String renderer for Inferencer. * @param config.fieldTransformers - Field transformers. * @param config.customElements - Field inferencers. * @param config.codeViewerComponent - Code viewer component. * @param config.errorComponent - Error component. * @param config.loadingComponent - Loading component. */ export declare const createInferencer: CreateInferencer; //# sourceMappingURL=index.d.ts.map