/** * Creates a standalone action. A standalone action must always take an existing tree node as first argument. * * @param actionName Unique action name. * @param fn Function. * @returns The function as an standalone action. */ export declare function standaloneAction any>(actionName: string, fn: FN): FN; /** * Creates a standalone flow. A standalone flow must always take an existing tree node as first argument. * * @param actionName Unique action name. * @param fn Function. * @returns The function as an standalone flow. */ export declare function standaloneFlow(actionName: string, fn: (target: TTarget, ...args: TArgs) => Generator): (target: TTarget, ...args: TArgs) => Promise;