"use strict";

export class Constants {
  static async get(nativeCommandSender) {
    const constants = await nativeCommandSender.getNavigationConstants();
    return new Constants(constants);
  }
  static getSync(nativeCommandSender) {
    const constants = nativeCommandSender.getNavigationConstantsSync();
    return new Constants(constants);
  }
  constructor(constants) {
    this.statusBarHeight = constants.statusBarHeight;
    this.topBarHeight = constants.topBarHeight;
    this.backButtonId = constants.backButtonId;
    this.bottomTabsHeight = constants.bottomTabsHeight;
  }
}
//# sourceMappingURL=Constants.js.map