/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { CascaderProps } from 'antd';
import type { DefaultOptionType } from 'antd/lib/cascader';
import React from 'react';
type ParseOptions = {
    defaultTypeOnNull?: string;
    stringToDate?: boolean;
};
type UseTypeConstantType = true | (string | [string, Record<string, any>])[];
export type VariableInputProps = {
    value?: string;
    scope?: Partial<DefaultOptionType>[] | (() => Partial<DefaultOptionType>[]);
    onChange: (value: string, optionPath?: any[]) => void;
    children?: any;
    button?: React.ReactElement;
    useTypedConstant?: UseTypeConstantType;
    nullable?: boolean;
    changeOnSelect?: CascaderProps['changeOnSelect'];
    fieldNames?: CascaderProps['fieldNames'];
    disabled?: boolean;
    style?: React.CSSProperties;
    className?: string;
    parseOptions?: ParseOptions;
    hideVariableButton?: boolean;
    constantAbel?: boolean;
};
export declare function Input(props: VariableInputProps): React.JSX.Element;
export {};
