import { GraphNode, NodeDefinition, StaticGraphNode, StaticNodeDefinition, StaticNodeType } from '../../types/graph'; /** * An instance of the [[done]] node. * See the [[done]] documentation to find out more. */ export interface DoneNode extends StaticGraphNode<'done', DoneNodeProperties> { } /** * A definition of the [[done]] node. * See the [[done]] documentation to find out more. */ export interface DoneNodeDefinition extends StaticNodeDefinition<'done', DoneNodeProperties> { } export interface DoneNodeProperties { value: NodeDefinition | GraphNode | undefined; } /** * An implementation of the [[done]] node. * See the [[done]] documentation to find out more. */ export declare const DoneNodeType: StaticNodeType<'done', DoneNodeProperties>; /** * Creates a new instance of the [[done]] node. This node is used by the reducer-based implementation of array transforms * to indicate that a given transform has finished emitting nodes, and that no more nodes will be emitted from it. */ export declare function done(finalValue: NodeDefinition | GraphNode): DoneNodeDefinition; export declare function isDoneNodeDefinition(value: NodeDefinition): value is DoneNodeDefinition;