/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
function isBunjs() {
  return process.versions.bun != null;
}
function supportsSqlite() {
  const nodeVersion = process.versions.node;
  if (!nodeVersion.includes(".")) {
    return false;
  }
  const prefixPart = nodeVersion.substring(0, nodeVersion.indexOf("."));
  const majorNum = Number(prefixPart);
  if (Number.isNaN(majorNum)) {
    return false;
  }
  return majorNum >= 22;
}
export {
  isBunjs,
  supportsSqlite
};
//# sourceMappingURL=runtimeChecks.js.map
