/*! * Convert JS SDK * Version 1.0.0 * Copyright(c) 2020 Convert Insights, Inc * License Apache-2.0 */ import { BucketingAllocation, BucketingHash } from '../../../types'; export interface BucketingManagerInterface { selectBucket(buckets: Record, value: number, redistribute?: number): string | null; getValueVisitorBased(visitorId: string, options?: BucketingHash): number; getBucketForVisitor(buckets: Record, visitorId: string, options?: BucketingHash): BucketingAllocation | null; }