import { Task } from "task-run"; import { Node, TickParams } from "./imports"; export declare class Condition implements Node { predicate: (params: TickParams) => boolean; child: Node | undefined; elseChild: Node | undefined; label: string; constructor(predicate: (params: TickParams) => boolean, child?: Node | undefined, elseChild?: Node | undefined); tick(params: TickParams): Task; }