import { InputProps } from '@arco-design/web-react';
import { VariableDefine } from '../../type';

export interface Props extends Pick<InputProps, 'size' | 'placeholder' | 'disabled'> {
    variables?: Record<string, VariableDefine.Desc>;
    variablePath?: string[];
    canSelectMinLevel?: number;
    canDynamicMaxLevel?: number;
    canAcceptType?: VariableDefine.Desc['type'][];
    disabledType?: VariableDefine.Desc['type'][];
    onDisabled?: (variable: VariableDefine.Desc) => boolean;
    onSelect?: ((path: string[], variable: VariableDefine.Desc) => void) | (() => void);
}
export default function VariablePicker({ variables, variablePath, canSelectMinLevel, canDynamicMaxLevel, canAcceptType, disabledType, onSelect, onDisabled, disabled, size, placeholder, }: Props): import("react/jsx-runtime").JSX.Element;
