import { BlockvSession } from "../bv-service"; import { ActionInstruction } from "./actions/index"; import { ReactorInstruction } from "./reactors/index"; import { OperationEntity } from "./entities"; import { BrainInstruction } from "./brains"; import { ActionLimitInstruction } from "./limits"; export declare enum Operation { Delete = "delete", Create = "create", Register = "register", Upload = "upload" } export interface GenericInstruction { entityType: MyEntityType; operation: MyOperation; data: Data; } export declare type Instruction = ActionInstruction | ReactorInstruction | BrainInstruction | ActionLimitInstruction; export interface InstructionBlock { name?: string; concurrent: boolean; children: (Instruction | InstructionBlock)[]; } export declare function performBlock(block: InstructionBlock, blockv: BlockvSession): Promise; export declare type InstructionFunc = (instruction: Instruction, blockv: BlockvSession) => Promise; export declare function performInstruction(instruction: Instruction, blockv: BlockvSession): Promise; //# sourceMappingURL=index.d.ts.map