/// <reference types="node" />
import { JsonWebSignatureAlgorithm } from './jsonwebsignature.algorithm';
/**
 * Implementation of the JSON Web Signature none Algorithm.
 */
declare class NoneAlgorithm extends JsonWebSignatureAlgorithm {
    /**
     * Instantiates a new JSON Web Signature none Algorithm to Sign and Verify the Messages.
     */
    constructor();
    /**
     * Signs a Message with the provided JSON Web Key.
     *
     * @param message Message to be Signed.
     * @returns Resulting Signature of the provided Message.
     */
    sign(message: Buffer): Promise<Buffer>;
    /**
     * Checks if the provided Signature matches the provided Message based on the provide JSON Web Key.
     *
     * @param signature Signature to be matched against the provided Message.
     * @param message Message to be matched against the provided Signature.
     */
    verify(signature: Buffer, message: Buffer): Promise<void>;
}
/**
 * No digital signature or MAC performed.
 */
export declare const none: NoneAlgorithm;
export {};
