import { type CHash } from '@noble/hashes/utils.js';
import type { ECDSA as CurveFn } from '@noble/curves/abstract/weierstrass.js';
import type { EdDSA as CurveFnEDDSA } from '@noble/curves/abstract/edwards.js';
type Input = string | Uint8Array;
type Hex = string | Uint8Array;
type Digest = 'binary' | 'hex' | 'base64';
declare function pemToDer(pem: string): Uint8Array;
declare const hash: (request: Input, hash: CHash, digest?: Digest) => any;
declare const hmac: (request: Input, secret: Input, hash: CHash, digest?: Digest) => any;
declare function ecdsa(request: Hex, secret: Hex, curve: CurveFn, prehash?: CHash | null, fixedLength?: boolean): {
    r: string;
    s: string;
    v: number | undefined;
};
declare function eddsa(request: Hex, secret: Input, curve: CurveFnEDDSA): string;
declare function crc32(str: string, signed?: boolean): number;
export { hash, hmac, crc32, ecdsa, eddsa, pemToDer, };
