import { ChartBundle, ChartRange, ProtocolChartMetric } from "../../model/charts.js"; import { ChainScopedFilter } from "../../model/filters.js"; import { DataResponse } from "../../model/response.js"; import { GearboxAPIOptions } from "../types.js"; import { AbstractOffchainNamespace } from "../AbstractOffchainNamespace.js"; import { IOffchainAnalytics } from "./types.js"; import { OffchainAnalyticsPositions } from "./OffchainAnalyticsPositions.js"; //#region src/offchain/analytics/OffchainAnalytics.d.ts /** * Backend-only protocol analytics, grouped by subject. * * It owns the protocol-wide charts itself rather than through a sub-namespace: * their subject is Gearbox as a whole, so there is nothing narrower for them to * hang off. **/ export declare class OffchainAnalytics extends AbstractOffchainNamespace implements IOffchainAnalytics { readonly positions: OffchainAnalyticsPositions; constructor(options: GearboxAPIOptions); /** {@inheritDoc IOffchainAnalytics.getCharts} */ getCharts(metrics: Metrics, range: ChartRange, filter?: ChainScopedFilter): Promise>>; } //#endregion