import type { CompiledServiceInfo, CompileUrlResult, DriverConfig, MethodAPI, ResponseFormat, ServiceApi, ServiceUrlCompile, UrlBuilder, VersionConfig } from "../types/driver"; export declare function replaceParamsInUrl(url: string, params: Record): string; export declare function findServiceApi(services: ServiceApi[], idToFind: string): ServiceApi | null; export declare function joinUrl(...parts: (string | undefined | null)[]): string; export declare function compileService(idService: ServiceUrlCompile, services: ServiceApi[]): CompiledServiceInfo | null; export declare function buildUrlWithVersion(baseURL: string, endpoint: string, version: string | number | undefined, versionConfig?: VersionConfig): string; export declare function compileUrlByService(configServices: DriverConfig, idService: ServiceUrlCompile, payload?: Record, options?: Record): CompileUrlResult | null; export declare function responseFormat({ status, data, headers, originalError, duration, problem, }: ResponseFormat): ResponseFormat; export declare function compileUrl(url: string, method: MethodAPI, payload?: Record, options?: Record): CompileUrlResult; /** * Formats the payload based on the specified content type. */ export declare function compileBodyFetchWithContentType(contentType: string, payload: Record): string | FormData; /** @deprecated Use compileBodyFetchWithContentType instead */ export declare const compileBodyFetchWithContextType: typeof compileBodyFetchWithContentType; export declare function httpClientFetch(urlBuilder: UrlBuilder, payload?: Record, options?: Record): Promise>; export declare function removeNullValues>(obj: T): T;