UNPKG

@featurevisor/core

Version:

Core package of Featurevisor for Node.js usage

5 lines (4 loc) 464 B
import type { FeatureKey, Feature, SegmentKey, Segment, DatafileContent } from "@featurevisor/types"; export declare function getSegmentHashes(segments: Record<SegmentKey, Segment>): Record<SegmentKey, string>; export declare function generateHashForFeature(featureKey: FeatureKey, features: Record<FeatureKey, Feature>, segmentHashes: Record<SegmentKey, string>): string; export declare function generateHashForDatafile(datafileContent: DatafileContent): string;