import type { PagedResponse, PaginationOptions } from "./types.js"; export type QueryValue = string | number | boolean | undefined; export interface RestClientOptions { baseUrl: string; apiKey: string; } export declare class RestClient { private readonly baseUrl; private readonly apiKey; constructor(options: RestClientOptions); getJson(path: string, query?: Record): Promise; getJsonPaged(path: string, query?: Record, pagination?: PaginationOptions): Promise>; fetchAll(path: string, query?: Record, perPage?: number): Promise; } //# sourceMappingURL=http.d.ts.map