UNPKG

@ua/react-native-airship

Version:
18 lines 595 B
import { JsonValue } from './types'; /** * Airship actions. */ export declare class AirshipActions { private readonly module; constructor(module: any); /** * Runs an Airship action. * * @param actionName The name of the action. * @param actionValue The action's value. * @return A promise that returns the action result if the action * successfully runs, or the Error if the action was unable to be run. */ run(actionName: string, actionValue?: JsonValue): Promise<JsonValue | null | undefined>; } //# sourceMappingURL=AirshipActions.d.ts.map