import type { HttpClient, QueryParamValue } from "./http.js";
import type { JsonObject } from "./types.js";
export type OperationCall = <T = JsonObject>(body?: JsonObject, query?: Record<string, QueryParamValue>) => Promise<T>;
export type ServiceCall = <T = JsonObject>(operation: string, body?: JsonObject, query?: Record<string, QueryParamValue>) => Promise<T>;
export type NamespaceService = ServiceCall & Record<string, OperationCall>;
export declare function createNamespaceService(http: HttpClient, namespace: string): NamespaceService;
//# sourceMappingURL=service.d.ts.map