import { FlowNodeOptions } from '../../type';
import { default as Base } from '../base';

export interface FieldWithValue {
    id: string;
    fieldName: string;
    value: any;
}
export type CreateDataParams = {
    modalName: string;
    useField?: boolean;
    recordPath?: string[];
    fieldValue?: {
        id: string;
        valueList: FieldWithValue[];
    }[];
};
export default class CreateDataNode extends Base<CreateDataParams> {
    static Type: string;
    constructor(option: FlowNodeOptions);
    protected _execute(): Promise<void>;
}
