import { type Address, type ReadonlyUint8Array, type Signature, type SignatureBytes } from "@solana/kit"; /** * Verifies a Solana Address had signed the given message. * * @param address - The Solana address expected to have signed the message * @param signature - The signature to verify * @param signedMessage - The original message that was signed * @returns Promise that resolves to `true` if the signature is valid, `false` otherwise * * @example * ```typescript * const isValid = await verifySignatureForAddress( * "GC5AFcYqshWUnNK23MbWTXPix3FUagZt4fjUAt88FT59" as Address, * "jrZaHRqiRojydQMxHqqe7FEkfeyw64KfPdF2ww1mm3hpVtGyxBvEU5NmHdZFoawYnYu62ujgqw3gcL2XHYbxd9K", * "Hello, Solana!!" * ); * console.log(isValid); // true or false * ``` */ export declare function verifySignatureForAddress(address: Address, signature: string | Signature | SignatureBytes | Uint8Array | ReadonlyUint8Array, message: string | Uint8Array): Promise; //# sourceMappingURL=verify-signature.d.ts.map