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

export type FindOneParams = {
    modalName: string;
    sort?: CRUD.OrderBy<any>[];
    condition?: VariableCondition.Desc;
};
export default class FindOneNode extends Base<FindOneParams> {
    static Type: string;
    constructor(option: FlowNodeOptions);
    protected _execute(): Promise<void>;
}
