export declare class ByteBrew { /** * Initializes ByteBrew. Call this method before calling any other ByteBrew methods. * @param appID - The app ID provided by ByteBrew. * @param appKey - The app key provided by ByteBrew. * @param appVersion - The app version. */ static initializeByteBrew(appID: string, appKey: string, appVersion: string): void; /** * Checks if ByteBrew has been initialized. * @returns A boolean indicating if ByteBrew has been initialized. */ static isByteBrewInitialized(): boolean; /** * Sends a Custom Event to ByteBrew. * @param eventName - The name of the custom event. */ static newCustomEvent(eventName: string): void; /** * Sends a Custom Event to ByteBrew with a string value. * @param eventName - The name of the custom event. * @param value - The value to be sent with the event. */ static newCustomEvent(eventName: string, value: string): void; /** * Sends a Custom Event to ByteBrew with a number value. * @param eventName - The name of the custom event. * @param value - The value to be sent with the event. */ static newCustomEvent(eventName: string, value: number): void; /** * Sends a Custom Event to ByteBrew with a JSON dictionary value. * @param eventName - The name of the custom event. * @param value - The value to be sent with the event. */ static newCustomEvent(eventName: string, value: object): void; /** * Loads Remote Configs from ByteBrew. * @param onConfigsLoaded - The callback to be called when the configs have been loaded. Returns a JSON dictionary. */ static loadRemoteConfigs(onConfigsLoaded: (configResponse: any) => void): void; /** * Retrieves a Remote Config value from ByteBrew. * @param key - The key of the Remote Config. * @param defaultValue - The default value of the Remote Config. * @returns The value of the Remote Config. */ static retreiveRemoteConfigValue(key: string, defaultValue: string): string; /** * Checks if Remote Configs have been retrieved from ByteBrew. * @returns True if Remote Configs have been retrieved from ByteBrew. * @returns False if Remote Configs have not been retrieved from ByteBrew. */ static hasRemoteConfigsBeenSet(): boolean; /** * Restarts tracking the user. */ static restartTracking(): void; /** * Stops tracking the user. */ static stopTracking(): void; /** * Gets the user ID. * @returns The user ID. */ static getUserID(): string; }