neverbounce
Version:
An API wrapper for the NeverBounce API
19 lines (18 loc) • 810 B
TypeScript
import HttpsClient from './HttpsClient.js';
import VerificationObject from './VerificationObject.js';
/**
* Single email verification API endpoints
*/
declare class Single extends HttpsClient {
/**
* Performs the verification of a single email
* @param email Email address to verify
* @param address_info Whether to include address info in the response
* @param credits_info Whether to include credits info in the response
* @param timeout Timeout for the verification in milliseconds
* @param historicalData Whether to leverage historical data
* @returns Promise with verification object
*/
check(email: string, address_info?: boolean, credits_info?: boolean, timeout?: number, historicalData?: boolean): Promise<VerificationObject>;
}
export default Single;