@ua/react-native-airship
Version:
Airship plugin for React Native apps.
18 lines • 595 B
TypeScript
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