import type { FormInstance } from 'antd'; import type { NamePath } from 'rc-field-form/lib/interface'; import type { ComponentType, FC } from 'react'; import type { OptionsProp, OptionsType } from './../../../shared'; export declare type WithOptionsProps = Omit & { form?: FormInstance; data?: Record; name?: NamePath; hidden?: boolean; options?: OptionsType; optionsProp?: OptionsProp; clearValueAfterOptionsChange?: boolean; }; export interface WithOptionsConfigType { hasLoadingProp?: boolean; needData?: boolean; } export declare function withOptions

(Component: ComponentType

, config: WithOptionsConfigType): FC>;