import type { SharedConfig } from "./types"; export type RequestOptions = { method: string; url: string; body?: unknown; }; export declare function requestJson(config: SharedConfig, options: RequestOptions): Promise; export declare function trimBaseUrl(baseUrl: string): string; export declare function buildHeaders(config: SharedConfig): Record; export declare function resolveFetch(config: SharedConfig): typeof fetch;