import { PlatformWeb } from "@play-co/gcinstant"; import type { ABConfig, AnalyticsProperties, GameConfig, HashFunction } from "@play-co/gcinstant"; import { Analytics } from "./analytics"; export declare let gcPlatform: PlatformImpl; declare class PlatformImpl extends PlatformWeb { /** Same as initializeAsync, but pass the player ID to initialize Amplitude. */ initializeAsync2(playerId: string, config: GameConfig): Promise; /** If gcinstant is set, use that. Otherwise fallback on the default gcinstant handling for `payload` */ _getEntryPointDataForce(): AnalyticsProperties.EntryData; } export declare class AmplitudeAnalytics implements Analytics { track(name: string, props?: Record): void; setUserProperties(props: Record): void; } export declare const entryPointData: AnalyticsProperties.EntryData; export declare function initGCInstant(opts?: { amplitude: string; abTestConfig?: ABConfig; hashFunction?: HashFunction; entryFinalProperties?: { eventProperties?: { [key: string]: unknown; }; firstEntryUserProperties?: { [key: string]: unknown; }; lastEntryUserProperties?: { [key: string]: unknown; }; }; version?: string; }): Promise; export declare function getBucketId(testId: string): string | undefined; export declare function assignTestManually(testId: string, bucketId?: string): void; export {};