/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { Bytes } from "#util/Bytes.js";
/**
 * An ECDSA signature.
 *
 * Input and output may be IEEE-P1363 or DER encoded.  Matter helpfully mixes and matches so we validate input to ensure
 * the correct encoding is specified.  Extraction to bytes must explicitly use {@link bytes} or {@link der} to specify
 * the desired format.
 *
 * Currently we only support 256-bit curves.
 */
export declare class EcdsaSignature {
    #private;
    constructor(bytes: Bytes, encoding?: string);
    /**
     * Access signature in IEEE P1363 format.
     */
    get bytes(): AllowSharedBufferSource;
    /**
     * Access signature in DER format.
     */
    get der(): AllowSharedBufferSource;
}
export declare namespace EcdsaSignature {
    /**
     * IEEE P1363 encoding.
     *
     * This is a simple concatenation of the raw R and S elements
     */
    const IEEE_P1363 = "ieee-p1363";
    /**
     * DER encoding.
     *
     * This encodes R and S elements in a sequence of separate integers.
     */
    const DER = "der";
    type Encoding = typeof IEEE_P1363 | typeof DER;
}
//# sourceMappingURL=EcdsaSignature.d.ts.map