import type { ComponentType, FC } from 'react'; import type * as ParserTypes from '../../../../libs/fspropertybinding'; import type { FailHandler, FieldDefinition, SuccessHandler, WithPropertyBinding } from './merge-props.types'; export declare type WithDataProps = WithPropertyBinding; export interface WithDataConfig { parser?: ParserTypes.MixedAstParser; resolver?: ParserTypes.DataResolver; onFail: FailHandler; onSuccess?: SuccessHandler; fields: Array>; } export declare const makeWithData: (Parser: typeof ParserTypes) => (config: WithDataConfig) => (Component: ComponentType) => FC>;