import { NodeDefinition, NodeLike, StaticGraphNode, StaticNodeDefinition, StaticNodeType } from '../../types/graph'; /** * An instance of the [[otherwise]] node. * See the [[otherwise]] documentation to find out more. */ export interface OtherwiseNode extends StaticGraphNode<'otherwise', OtherwiseNodeProperties> { } /** * A definition of the [[otherwise]] node. * See the [[otherwise]] documentation to find out more. */ export interface OtherwiseNodeDefinition extends StaticNodeDefinition<'otherwise', OtherwiseNodeProperties> { } export interface OtherwiseNodeProperties { value: NodeDefinition; } /** * The implementation of the [[otherwise]] node. * See the [[otherwise]] documentation to learn more. */ export declare const OtherwiseNodeType: StaticNodeType<'otherwise', OtherwiseNodeProperties>; /** * Creates a new instance of a [[otherwise]] node, which is used when defining a [[switchOn]] and [[choose]] nodes. * See the [[switchOn]] and [[choose]] documentation for examples of use. */ export declare function otherwise(value: NodeDefinition | NodeLike): OtherwiseNodeDefinition; export declare function isOtherwiseNodeDefinition(value: NodeDefinition): value is OtherwiseNodeDefinition;