import { APIResource } from "../core/resource.js"; import { APIPromise } from "../core/api-promise.js"; import { RequestOptions } from "../internal/request-options.js"; export declare class ExchangeRates extends APIResource { /** * To query BTC exchange rates with other currencies */ get(options?: RequestOptions): APIPromise; } export interface ExchangeRateGetResponse { /** * Exchange rates keyed by currency code */ rates: { [key: string]: ExchangeRateGetResponse.Rates; }; } export declare namespace ExchangeRateGetResponse { interface Rates { /** * Currency name */ name: string; /** * Currency type: crypto, fiat, or commodity */ type: string; /** * Currency unit symbol */ unit: string; /** * Exchange rate value relative to BTC */ value: number; } } export declare namespace ExchangeRates { export { type ExchangeRateGetResponse as ExchangeRateGetResponse }; } //# sourceMappingURL=exchange-rates.d.ts.map