import { VariableCondition } from '@easy-coder/sdk/variable';
import { FlowNodeOptions } from '../../type';
import { default as Base } from '../base';
import { FieldWithValue } from '../createData';

export type UpdateDataParams = {
    modalName: string;
    recordPath?: string[];
    fieldValue?: FieldWithValue[];
    useCondition?: boolean;
    condition?: VariableCondition.Desc;
};
export default class UpdateDataNode extends Base<UpdateDataParams> {
    static Type: string;
    constructor(option: FlowNodeOptions);
    protected _execute(): Promise<void>;
}
