import { transformResponse } from './utils.js';
/**
 * Info utilities for OpenMeter
 */
export class Info {
    client;
    constructor(client) {
        this.client = client;
    }
    /**
     * List supported currencies
     * @description List all supported currencies.
     * @param options - The request options
     * @returns The supported currencies
     */
    async listCurrencies(options) {
        const resp = await this.client.GET('/api/v1/info/currencies', {
            ...options,
        });
        return transformResponse(resp);
    }
    /**
     * Get progress
     * @param id - The ID of the progress to get
     * @param options - The request options
     * @returns The progress
     */
    async getProgress(id, options) {
        const resp = await this.client.GET('/api/v1/info/progress/{id}', {
            params: {
                path: { id },
            },
            ...options,
        });
        return transformResponse(resp);
    }
}
//# sourceMappingURL=info.js.map