/// import { JsonWebKey } from "crypto"; import { AlgorithmTypes } from "../sign"; export declare const signEcdsaSha256: (key: JsonWebKey) => (data: Uint8Array) => Promise; export declare const verifyEcdsaSha256: (key: JsonWebKey) => (data: Uint8Array, signature: Uint8Array) => Promise; export declare const signRssV1_5Sha256: (key: JsonWebKey) => (data: Uint8Array) => Promise; export declare const verifyRssV1_5Sha256: (key: JsonWebKey) => (data: Uint8Array, signature: Uint8Array) => Promise; export declare const signHmacSha256: (key: JsonWebKey) => (data: Uint8Array) => Promise; export declare const verifyHmacSha256: (key: JsonWebKey) => (data: Uint8Array, signature: Uint8Array) => Promise; export declare const signEcdsaSha384: (key: JsonWebKey) => (data: Uint8Array) => Promise; export declare const verifyEcdsaSha384: (key: JsonWebKey) => (data: Uint8Array, signature: Uint8Array) => Promise; export declare const signRsaPssSha512: (key: JsonWebKey) => (data: Uint8Array) => Promise; export declare const verifyRsaPssSha512: (key: JsonWebKey) => (data: Uint8Array, signature: Uint8Array) => Promise; export declare const signEd25519: (key: JsonWebKey) => (data: Uint8Array) => Promise; export declare const verifyEd25519: (key: JsonWebKey) => (data: Uint8Array, signature: Uint8Array) => Promise; declare type VerifyFunctionWrapper = (privateKey: JsonWebKey) => VerifyFunction; declare type VerifyFunction = (data: Uint8Array, signature: Uint8Array) => Promise; declare type SignFunctionWrapper = (privateKey: JsonWebKey) => SignFunction; declare type SignFunction = (data: Uint8Array) => Promise; export declare const verifyDefault: (keyMap: { [keyid: string]: { key: JsonWebKey; }; }) => (signatureParams: { keyid: string; alg: AlgorithmTypes; }, data: Uint8Array, signature: Uint8Array) => Promise; export declare const algMap: { [key: string]: { sign: SignFunctionWrapper; verify: VerifyFunctionWrapper; }; }; export {};