@lifi/composer-sdk
Version:
Public Composer SDK for building and submitting flows
11 lines (8 loc) • 403 B
TypeScript
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. Consumed ports
* (intermediate amounts a later op takes as input) are dropped.
*/
declare const terminalOutputs: (outputs: Outputs) => Record<string, TerminalOutput>;
export { terminalOutputs };