import React, { ReactNode } from 'react'; import { ABTestingConfig } from '@appannie/ab-testing'; export { ABTestingConfig }; export declare type ABTestingContextType = { hasExperiment: (experimentName: string) => boolean; getCohort: (experimentName: string) => string; }; export declare const ABTestingController: React.FunctionComponent<{ config: ABTestingConfig; userId: number | string; userProfile: { [key: string]: string; }; children: ReactNode; }>; export declare function useCohortOf(experimentName: string): string; export declare const useABTestingController: () => ABTestingContextType;