import type { ClientOptions } from "../types"; /** * Base client with shared HTTP utilities for all 1sat-stack API clients. * Provides timeout handling, error parsing, and request helpers. */ export declare class BaseClient { protected readonly baseUrl: string; protected readonly timeout: number; protected readonly fetchFn: typeof fetch; constructor(baseUrl: string, options?: ClientOptions); /** * Make a JSON request and parse the response */ protected request(path: string, init?: RequestInit): Promise; /** * Make a request and return raw binary data */ protected requestBinary(path: string, init?: RequestInit): Promise; /** * Make a request and return the raw Response object * Useful for streaming responses */ protected requestRaw(path: string, init?: RequestInit): Promise; /** * Parse error response into HttpError */ private parseError; /** * Build query string from options object */ protected buildQueryString(params: Record): string; }