import { IStatus, ITrackParams } from './types'; /** * This function track events, i.e., it invokes the actual `client.track*` methods. * This function is not an action creator, but rather a simple access to `client.track()`. * * @param params - Parameter object to track an event. * * @see {@link https://developer.harness.io/docs/feature-management-experimentation/sdks-and-infrastructure/client-side-sdks/redux-sdk/#track} */ export declare function track(params: ITrackParams): boolean; /** * Gets the array of feature flag names. * * @returns The list of feature flag names. The list might be empty if the SDK was not initialized or if it's not ready yet. * * @see {@link https://developer.harness.io/docs/feature-management-experimentation/sdks-and-infrastructure/client-side-sdks/redux-sdk/#manager} */ export declare function getSplitNames(): string[]; /** * Gets the data of a split in SplitView format. * * @param featureFlagName - The name of the feature flag we wan't to get info of. * @returns The SplitIO.SplitView of the given split, or null if split does not exist or the SDK was not initialized or is not ready. * * @see {@link https://developer.harness.io/docs/feature-management-experimentation/sdks-and-infrastructure/client-side-sdks/redux-sdk/#manager} */ export declare function getSplit(featureFlagName: string): SplitIO.SplitView; /** * Gets the array of feature flags data in SplitView format. * * @returns The list of SplitIO.SplitView. The list might be empty if the SDK was not initialized or if it's not ready yet * * @see {@link https://developer.harness.io/docs/feature-management-experimentation/sdks-and-infrastructure/client-side-sdks/redux-sdk/#manager} */ export declare function getSplits(): SplitIO.SplitViews; /** * Gets an object with the status properties of the SDK client or manager. * * This function is similar to the `selectStatus` selector, but it does not require the Split state as a parameter since it uses the global `splitSdk` object. * Consider using the `selectStatus` selector instead for a more Redux-friendly approach. * * @param key - To use only on client-side. Ignored in server-side. If a key is provided and a client associated to that key has been used, the status of that client is returned. * If no key is provided, the status of the main client and manager is returned (the main client shares the status with the manager). * * @returns The status of the SDK client or manager. * * @see {@link https://developer.harness.io/docs/feature-management-experimentation/sdks-and-infrastructure/client-side-sdks/redux-sdk/#subscribe-to-events} */ export declare function getStatus(key?: SplitIO.SplitKey): IStatus;