import type { SIGNATURE } from '../../types/components.js'; import type { Client } from '../../clients/createClient.js'; import type { Transport } from '../../clients/transports/createTransport.js'; import type { ErrorType } from '../../errors/utils.js'; import type { HashTypedDataErrorType } from '../../utils/signature/hashTypedData.js'; export type VerifyMessageParameters = { /** The address to verify the typed data for. */ address: string; statement: string; uri: string; nonce: string; version: string; chainId: string; domain: string; /** The signature to verify */ signature: SIGNATURE; }; export type VerifyMessageReturnType = boolean; export type VerifyMessageErrorType = HashTypedDataErrorType | ErrorType; /** * Verify that typed data was signed by the provided address. * * - Docs {@link https://viem.sh/docs/actions/public/verifyTypedData} * * @param client - Client to use. * @param parameters - {@link VerifyTypedDataParameters} * @returns Whether or not the signature is valid. {@link VerifyTypedDataReturnType} */ export declare function verifyMessage(client: Client, parameters: VerifyMessageParameters): Promise; //# sourceMappingURL=verifyMessage.d.ts.map