/** * UsernameChecker - Main class for checking username availability across sites */ import type { CheckOptions, CheckResult, SiteConfig, DebugOptions, BatchCheckOptions, BatchCheckResult } from './types.js'; /** * Main class for checking username availability across multiple platforms */ export declare class UsernameChecker { private options; private readonly repository; private proxyAgent; private controller; private lifecycle; private cache; constructor(options?: Partial); /** * Check username availability across all matching sites */ check(username: string, options?: Pick): Promise; /** * Check multiple usernames across sites with optional callback for progress */ checkBatch(usernames: string[], options?: BatchCheckOptions): Promise; /** * Check a single site */ checkSite(username: string, siteKey: string, config?: SiteConfig, signal?: AbortSignal, debug?: DebugOptions): Promise; private buildDebugData; private buildDiagnostics; /** * Abort any running check operations */ abort(): void; /** * Get site count (convenience method) */ static getSiteCount(): number; /** * Check if a site is supported (convenience method) */ static hasSite(key: string): boolean; /** * Get a specific site configuration (convenience method) */ static getSite(key: string): SiteConfig | undefined; }