import { Coords, Dictionary } from "../types"; import { TypeDescriptor } from "../datatypes"; import Immutable from 'immutable'; import { WorkflowParamTypes } from "./parameters"; import { Table, Column, RowType } from "../table"; export declare type SlotKind = 'input' | 'output'; export declare const ColumnsC: () => { kind: Column; name: Column; slotId: Column; type: Column; }; declare type Columns = ReturnType; export declare type Slot = RowType; export interface Output { type: 'output'; id: string; data: Dictionary; } export interface ExecutionError extends Error { type: 'error'; } export declare type Result = Output | ExecutionError; export declare type Status = 'empty' | 'dirty' | 'evaluated' | 'error' | 'evaluating'; export declare type Slots = Table; export declare function Slots(): Table; export interface IWorkflowNode { id: string; code: string; name: string; params: Immutable.OrderedMap; status: Status; coords: Coords; result?: Result; slots: Slots; } export {};