/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ import { NodeSession } from "#session/NodeSession.js"; import { Bytes, Construction, Crypto, PrivateKey } from "@matter/general"; import { ProductDescription } from "@matter/types"; /** * Device certification used by the OperationalCredentials cluster. */ export declare class DeviceCertification { #private; get construction(): Construction; get certificate(): AllowSharedBufferSource; get intermediateCertificate(): AllowSharedBufferSource; get declaration(): AllowSharedBufferSource; constructor(crypto: Crypto, config?: DeviceCertification.Definition, product?: ProductDescription); /** Release the certification's lifetime. */ close(): import("@matter/general").MaybePromise; sign(session: NodeSession, data: Bytes): Promise; } export declare namespace DeviceCertification { interface Configuration { privateKey: PrivateKey | Bytes; certificate: Bytes; intermediateCertificate: Bytes; declaration: Bytes; } type Definition = Configuration | (() => Promise); } //# sourceMappingURL=DeviceCertification.d.ts.map