import { type ApiName } from "../config/env.js";
export interface ApiRequestOptions {
    api: ApiName;
    base: string;
    path: string;
    params: Record<string, string | number | undefined>;
    responseFormat?: "json" | "xml" | "auto";
}
export interface ApiResponse<T = unknown> {
    rawText: string;
    parsed: T;
    url: string;
}
export declare function callKoshaApi<T = unknown>(opts: ApiRequestOptions): Promise<ApiResponse<T>>;
//# sourceMappingURL=api-client.d.ts.map