export type HttpMethod = 'GET' | 'POST'; export type ResponseHeaders = Record | undefined>; export interface Response { status_code: number; headers: ResponseHeaders; } export interface ErrorMessage { field: string; message: string; } export declare class RequestError extends Error { readonly errors: Array; constructor(message: string, errors?: Array); } export declare function makeRequest(options: { url: string; method?: HttpMethod; token?: string; headers?: Record; query?: Record; body?: any; timeout?: number; retries?: number; backoff?: number; }): Promise<[T, Response]>;