import React from 'react'; import { FormProps } from 'react-final-form'; declare type FormApi = FormProps['form']; export interface IWithConditionalRenderProps { condition: (formApi: FormApi) => boolean; [key: string]: any; } export declare const withConditionalRender: (Component: React.ComponentType) => React.FunctionComponent; export {};