import { ClusterNode, ClusterOptions } from "ioredis"; import { StickyBucketService } from "@growthbook/growthbook"; import { Context } from "../../types"; export declare let stickyBucketService: (StickyBucketService & { connect: () => Promise; onEvaluate?: () => Promise; }) | null; export interface StickyBucketSettings { connectionUrl?: string; useCluster?: boolean; clusterRootNodesJSON?: ClusterNode[]; clusterOptionsJSON?: ClusterOptions; ttl?: number; } export declare const initializeStickyBucketService: (context: Context) => Promise;