/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import { brand, brandOpaque, extractFromOpaque, fromErased, brandErased,
// Allow importing from this specific file which is being tested:
/* eslint-disable-next-line import/no-internal-modules */
 } from "../../util/brand.js";
const _branded = brand(0);
const _opaque = brandOpaque(0);
// @ts-expect-error No type to infer: does not build.
const _branded2 = brand(0);
// @ts-expect-error No type to infer: does not build.
const untypedOpaque = brandOpaque(0);
// If somehow an untyped opaque handle is produced, make sure any does not leak out:
const extracted = extractFromOpaque(0);
const erased = brandErased({ test: 5 });
const branded = fromErased(erased);
//# sourceMappingURL=brand.spec.js.map