import { type ToHexErrorType } from '../encoding/toHex.js'; import type { ErrorType } from '../errors/utils.js'; import type { Bytes, Hex } from '../types/data.js'; import type { Signatureish } from '../types/signature.js'; export type RecoverPublicKeyParameters = { hash: Hex | Bytes; signature: Signatureish; }; export type RecoverPublicKeyReturnType = Hex; export type RecoverPublicKeyErrorType = ToHexErrorType | ErrorType; export declare function recoverPublicKey({ hash, signature, }: RecoverPublicKeyParameters): RecoverPublicKeyReturnType; //# sourceMappingURL=recoverPublicKey.d.ts.map