import { VariableDefine } from '@easy-coder/sdk/variable';
import { VariableFrom } from '../public/getFlowVariable';

interface Props {
    id?: string;
    desc?: VariableDefine.Desc;
    defaultValue?: any;
    showDefaultValue?: boolean;
    disabled?: boolean;
    from?: VariableFrom;
    onConfirm?: (from: VariableFrom, id: string, desc: VariableDefine.Desc, defaultValue?: any) => void;
}
export default function useEditVariableDefine({ id, desc, defaultValue, showDefaultValue, from, disabled, onConfirm }: Props): {
    body: import("react/jsx-runtime").JSX.Element;
    footer: import("react/jsx-runtime").JSX.Element;
};
export {};
