UNPKG

@lifi/composer-sdk

Version:

Public Composer SDK for building and submitting flows

8 lines • 445 B
import { Outputs, TerminalOutput } from "@lifi/compose-spec"; /** * The entries of `outputs` the caller actually receives: every port no later * node spends, keyed `<nodeId>.<portName>` as on the wire, and every resource * input no node spends, keyed `input.<name>`. Consumed ports (intermediate * amounts a later op takes as input) are dropped. */ export declare const terminalOutputs: (outputs: Outputs) => Record<string, TerminalOutput>;