import React from 'react'; import { FormItemProps } from 'antd'; import './GlobalVarsFormItem.less'; declare type PasserProps = React.HTMLAttributes & { children: React.ReactElement; valuePropName?: string; trigger?: string; value?: any; onChange?: (...args: any[]) => void; flatten?: string[] | boolean; disabled?: boolean; }; export declare function useGlobalVarsPasser(): { Passer: (props: PasserProps) => JSX.Element; changeValue: (...args: any[]) => void; }; export interface GlobalVarsFormItemProps extends FormItemProps { direction?: 'row' | 'column'; noGlobalVars?: boolean; children?: React.ReactElement; flatten?: string[] | boolean; disabled?: boolean; } declare const GlobalVarsFormItem: (props: GlobalVarsFormItemProps) => JSX.Element; export default GlobalVarsFormItem;