import { H as HttpClientConfig, a as HttpResponse } from './types-C8x5GGVP.cjs'; declare class ContentstackHttpClient { private readonly config; constructor(config: HttpClientConfig); get(path: string, params?: Record): Promise>; post(path: string, body?: unknown): Promise>; put(path: string, body?: unknown): Promise>; patch(path: string, body?: unknown): Promise>; delete(path: string): Promise>; postForm(path: string, params: URLSearchParams): Promise>; upload(path: string, form: FormData): Promise>; /** Return a new client with additional headers merged */ withHeaders(headers: Record): ContentstackHttpClient; /** Return a new client with a different base URL */ withBaseUrl(baseUrl: string): ContentstackHttpClient; private request; private calculateDelay; private createError; } export { ContentstackHttpClient as C };