import { type AxiosInstance, type AxiosRequestConfig } from "axios"; import FormData from "form-data"; import { type BatchableRequest } from "./client.js"; import { type FacebookErrorHook } from "./internal/error.js"; export declare const api: AxiosInstance; export declare const GRAPH_HOSTS: { readonly facebook: "https://graph.facebook.com/v25.0"; readonly instagram: "https://graph.instagram.com/v25.0"; }; export type GraphHost = keyof typeof GRAPH_HOSTS; type Data = FormData | Record | null; export interface HttpClient { get(path: string, options?: AxiosRequestConfig): BatchableRequest; post(path: string, data: Data, options?: AxiosRequestConfig): BatchableRequest; delete(path: string, options?: AxiosRequestConfig): BatchableRequest; getToken(): string; } export interface CreateHttpClientOptions { onError?: FacebookErrorHook | undefined; host?: GraphHost | undefined; } export declare function createHttpClient(accessToken: string, options?: CreateHttpClientOptions): HttpClient; export {}; //# sourceMappingURL=httpClient.d.ts.map