UNPKG

@featurevisor/core

Version:

Core package of Featurevisor for Node.js usage

5 lines (4 loc) 425 B
import type { Condition, AttributeKey, GroupSegment, SegmentKey, Feature } from "@featurevisor/types"; export declare function extractSegmentsFromFeature(feature: Feature): Set<SegmentKey>; export declare function extractSegmentKeysFromGroupSegments(segments: GroupSegment | GroupSegment[]): Set<SegmentKey>; export declare function extractAttributeKeysFromConditions(conditions: Condition | Condition[]): Set<AttributeKey>;