/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterFlowError } from "@matter/general";
import { Session } from "./Session.js";
class SecureSession extends Session {
  isSecure = true;
}
((SecureSession2) => {
  function assert(session, errorText) {
    if (!session?.isSecure) {
      throw new MatterFlowError(errorText ?? "Unsecured session in secure context");
    }
  }
  SecureSession2.assert = assert;
})(SecureSession || (SecureSession = {}));
export {
  SecureSession
};
//# sourceMappingURL=SecureSession.js.map
