@featurevisor/core
Version:
Core package of Featurevisor for Node.js usage
14 lines (13 loc) • 805 B
TypeScript
import type { AssertionMatrix, FeatureAssertion, SegmentAssertion } from "@featurevisor/types";
export declare function getMatrixCombinations(matrix: AssertionMatrix): any[];
export declare function applyCombinationToValue(value: any, combination: any): any;
/**
* Features
*/
export declare function applyCombinationToFeatureAssertion(combination: any, assertion: FeatureAssertion): FeatureAssertion;
export declare function getFeatureAssertionsFromMatrix(aIndex: any, assertionWithMatrix: FeatureAssertion): FeatureAssertion[];
/**
* Segments
*/
export declare function applyCombinationToSegmentAssertion(combination: any, assertion: SegmentAssertion): SegmentAssertion;
export declare function getSegmentAssertionsFromMatrix(aIndex: any, assertionWithMatrix: SegmentAssertion): SegmentAssertion[];