import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class TotalSupplyChart extends APIResource { /** * To query historical total supply of a coin by number of days away from now based * on provided coin ID */ get(id: string, query: TotalSupplyChartGetParams, options?: RequestOptions): APIPromise; /** * To query historical total supply of a coin, within a range of timestamp based on * the provided coin ID */ getRange(id: string, query: TotalSupplyChartGetRangeParams, options?: RequestOptions): APIPromise; } export interface TotalSupplyChartGetResponse { /** * Total supply data points as [timestamp, supply] pairs */ total_supply: Array>; } export interface TotalSupplyChartGetRangeResponse { /** * Total supply data points as [timestamp, supply] pairs */ total_supply: Array>; } export interface TotalSupplyChartGetParams { /** * Data up to number of days ago. Valid values: any integer or `max`. */ days: string; /** * Data interval. */ interval?: 'daily'; } export interface TotalSupplyChartGetRangeParams { /** * Starting date in ISO date string (`YYYY-MM-DD` or `YYYY-MM-DDTHH:MM`) or UNIX * timestamp. **Use ISO date string for best compatibility.** */ from: string; /** * Ending date in ISO date string (`YYYY-MM-DD` or `YYYY-MM-DDTHH:MM`) or UNIX * timestamp. **Use ISO date string for best compatibility.** */ to: string; } export declare namespace TotalSupplyChart { export { type TotalSupplyChartGetResponse as TotalSupplyChartGetResponse, type TotalSupplyChartGetRangeResponse as TotalSupplyChartGetRangeResponse, type TotalSupplyChartGetParams as TotalSupplyChartGetParams, type TotalSupplyChartGetRangeParams as TotalSupplyChartGetRangeParams, }; } //# sourceMappingURL=total-supply-chart.d.ts.map