import type { BentoClient } from '../client'; import type { LocationData } from '../types'; import type { BlacklistCheckInput, BlacklistParameters, BlacklistResponse, BlacklistResult, ContentModerationResult, GeolocateParameters, GuessGenderParameters, GuessGenderResponse, ValidateEmailParameters } from './types'; export declare class BentoExperimental { private readonly _client; private readonly _url; constructor(_client: BentoClient); /** * **EXPERIMENTAL** - * This functionality is experimental and may change or stop working at any time. * * Attempts to validate the email. You can provide additional information to further * refine the validation. * * If a name is provided, it compares it against the US Census Data, and so the results * may be biased. * * @param parameters * @returns Promise\ */ validateEmail(parameters: ValidateEmailParameters): Promise; /** * **EXPERIMENTAL** - * This functionality is experimental and may change or stop working at any time. * * Attempts to guess the gender of the person given a provided name. It compares * the name against the US Census Data, and so the results may be biased. * * It is possible for the gender to be unknown if the system cannot confidently * conclude what gender it may be. * * @param parameters * @returns Promise\ */ guessGender(parameters: GuessGenderParameters): Promise; /** * **EXPERIMENTAL** - * This functionality is experimental and may change or stop working at any time. * * Attempts to provide location data given a provided IP address. * * @param parameters * @returns Promise\ */ geolocate(parameters: GeolocateParameters): Promise; /** * **EXPERIMENTAL** - * This functionality is experimental and may change or stop working at any time. * * Looks up the provided URL or IP Address against various blacklists to see if the site has been * blacklisted anywhere. * * @param parameters * @returns Promise\ */ checkBlacklist(parameters: BlacklistParameters): Promise; /** * Checks if a domain or IP is blacklisted * @param input Domain or IP to check * @returns Promise */ getBlacklistStatus(input: BlacklistCheckInput): Promise; /** * Performs content moderation on provided text * @param content Text content to moderate * @returns Promise */ getContentModeration(content: string): Promise; /** * Gets geolocation data for an IP address * @param ipAddress IP address to geolocate * @returns Promise */ geoLocateIP(ipAddress: string): Promise; }