import type { JWK, KeyLike } from 'jose'; export declare const KeyTypeSymbol: unique symbol; export interface KeyBase extends KeyLike { type: 'public' | 'private'; [KeyTypeSymbol]: string; } export declare type SignFunction = (key: any, message: Uint8Array) => Promise; export declare type VerifyFunction = (key: any, sig: Uint8Array, message: Uint8Array) => Promise; export declare type ImportKeyFunction = (jwk: JWK) => Promise; export declare type ExportKeyFunction = (key: KeyLike | Uint8Array) => Promise; export interface Algorithm { name: string; checkJwk(jwk: JWK): boolean; checkKey(key: KeyLike | Uint8Array): boolean; checkHeader(header: { alg?: string; }): boolean; sign: SignFunction; verify: VerifyFunction; importKey: ImportKeyFunction; exportKey: ExportKeyFunction; } //# sourceMappingURL=types.d.ts.map