/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { UnexpectedDataError } from "@matter/general";
import { TlvObject } from "./TlvObject.js";
import { VoidSchema } from "./TlvVoid.js";
const TlvEmptyObject = TlvObject({});
class NoArgumentsSchema extends VoidSchema {
  encodeTlvInternal(writer, value, tag) {
    if (value !== void 0) throw new UnexpectedDataError("No value should be passed");
    TlvEmptyObject.encodeTlvInternal(writer, {}, tag);
  }
}
const TlvNoArguments = new NoArgumentsSchema();
export {
  NoArgumentsSchema,
  TlvNoArguments
};
//# sourceMappingURL=TlvNoArguments.js.map
