import { ExplicitStatsigOptions, RetryBackoffFunc } from '../StatsigOptions'; export default class StatsigFetcher { private sessionID; private leakyBucket; private pendingTimers; private dispatcher; private localMode; private sdkKey; constructor(secretKey: string, options: ExplicitStatsigOptions); dispatch(url: string, body: Record, timeout: number): Promise; post(url: string, body: Record, retries?: number, backoff?: number | RetryBackoffFunc, isRetrying?: boolean): Promise; get(url: string, retries?: number, backoff?: number | RetryBackoffFunc, isRetrying?: boolean): Promise; request(method: 'GET' | 'POST', url: string, body?: Record, retries?: number, backoff?: number | RetryBackoffFunc, isRetrying?: boolean): Promise; shutdown(): void; private _retry; }