import { NamedCurve, KeyType, PrivateKeyJwk } from "../types.js"; export declare const ALG = "ECDSA"; export declare const DEFAULT_CURVE = "P-256"; export declare const DEFAULT_HASH_ALG = "SHA-256"; export declare const generateKeypair: (namedCurve?: NamedCurve) => Promise; export declare const importKeypairJwk: (privKeyJwk: PrivateKeyJwk, namedCurve?: NamedCurve, exportable?: boolean) => Promise; export declare const exportKey: (key: CryptoKey) => Promise; export declare const importKey: (key: Uint8Array, namedCurve: NamedCurve) => Promise; export declare const sign: (msg: Uint8Array, privateKey: CryptoKey) => Promise; export declare const verify: (msg: Uint8Array, sig: Uint8Array, pubKey: Uint8Array, namedCurve: NamedCurve) => Promise; export declare const toKeyType: (namedCurve: NamedCurve) => KeyType;