import { ErrorUnion, NetworkStatisticsUnion } from '../outputs'; /** * Returns network data usage statistics. Can be called before authorization * @param {Object} params * @param {boolean} [params.onlyCurrent] - If true, returns only data for the current * library launch * @param {Object} state * @returns {NetworkStatisticsUnion | ErrorUnion} */ export declare type GetNetworkStatisticsMethod = (params: GetNetworkStatisticsParams, state?: Record) => Promise; export interface GetNetworkStatisticsParams { /** If true, returns only data for the current library launch */ onlyCurrent?: boolean; }