@grnsft/if
Version:
Impact Framework
11 lines (10 loc) • 483 B
TypeScript
import { PluginParams } from '@grnsft/if-core/types';
/**
* Regroups inputs and outputs based on the given group keys.
*/
export declare const Regroup: (inputs: PluginParams[], outputs: PluginParams[], groups: string[]) => any;
/**
* Grabs all the values according to grouping criteria, then
* checks if regroup values are present in the children list.
*/
export declare const isRegrouped: (groups: string[], outputStorage: PluginParams[], childNames: Set<string>) => boolean;