/** * HTTP client for simap API. */ import { type ZodType } from "zod"; import { SlidingWindowRateLimiter } from "./rate-limiter.js"; /** * Request options for the simap client. */ export interface RequestOptions { params?: Record; timeout?: number; schema?: ZodType; } /** * simap API client. */ export declare class SimapClient { private readonly baseUrl; private readonly rateLimiter; constructor(baseUrl?: string, rateLimiter?: SlidingWindowRateLimiter); /** * Performs a GET request to the simap API. */ get(endpoint: string, options?: RequestOptions): Promise; } /** * Builds a URL with query parameters. Array values are emitted as repeated * `?key=v1&key=v2` pairs; undefined values are skipped. * * Exported (not a private method) so it can be unit-tested directly. */ export declare function buildUrl(baseUrl: string, endpoint: string, params?: Record): string; /** * Default simap client instance. */ export declare const simap: SimapClient;