import { AxiosInstance, AxiosRequestConfig } from "axios"; import * as Store from "../rate-limits/store"; export interface Options { /** Bot token */ token: string; /** Rate limit store */ rateLimitStore?: Store.Store; /** Global rate limit in requests per second */ rateLimit?: number; /** How much extra delay to add to rate limits */ rateLimitMargin?: number; /** Change baseURL (if using a proxy) */ baseURL?: string; /** Disable rate limiting */ disableRateLimiter?: boolean; } export declare function create({ token, rateLimitStore, rateLimit, baseURL, rateLimitMargin, disableRateLimiter, }: Options): { readonly client: AxiosInstance; readonly rateLimiting$: import("rxjs").Observable; readonly debug$: import("rxjs").Observable; }; export declare const routes: (client: AxiosInstance) => import("../types").Endpoints>; export type Routes = ReturnType;