import { ProxyAgent } from 'undici'; import { QueryIdManager } from '../query-ids/index.js'; import { RateLimiter } from '../rate-limit.js'; import { ProxyManager } from '../proxy.js'; import type { Session, ClientOptions } from '../../types/twitter.js'; export declare class BaseClient { protected session: Session; protected queryIds: QueryIdManager; protected rateLimiter: RateLimiter; protected proxyManager: ProxyManager | null; protected options: ClientOptions; constructor(session: Session, options?: ClientOptions); protected getHeaders(): Record; protected graphql(operationName: string, variables: Record, features?: Record): Promise; /** * Get undici dispatcher (proxy agent if configured, undefined otherwise) */ protected getDispatcher(): ProxyAgent | undefined; /** * Get proxy stats (for debugging) */ getProxyStats(): { total: number; available: number; disabled: number; } | null; protected sleep(ms: number): Promise; } //# sourceMappingURL=base.d.ts.map