import { CachedResponseApi } from '../BaseApi'; import { ICache } from '../Cache'; import { TimeRange, TopPositionsType } from '../constants/lookups'; import { MiddlewareConfig, Sdks } from '../types'; import { AccountPositionBreakdownStat, AccountSecurityTypeBreakdownStat, AccountSizesBreakdownStat, AccountTopPositionsBreakdownStat, AccountTypesBreakdownStat, MarketCapBreakdownStat, QuoteHistory, QuoteStat, SectorsBreakdownStat, TopPositionsStat } from '../types/Stat.type'; import { IAccountApi, IBranchApi, IGroupApi, IModelApi } from './interfaces'; import { IQuoteApi } from './interfaces/IQuoteApi'; import { IStatApi } from './interfaces/IStatApi'; export declare class StatApi extends CachedResponseApi implements IStatApi { private branchApi; private modelApi; private accountApi; private groupApi; private quoteApi; constructor(sdks: Sdks, config: MiddlewareConfig, cache: ICache, branchApi: IBranchApi, modelApi: IModelApi, accountApi: IAccountApi, groupApi: IGroupApi, quoteApi: IQuoteApi); getBranchTopPositionsStat(by?: TopPositionsType, maxPositions?: number): Promise; getBranchMarketCapBreakdownStat(): Promise; getBranchSectorsBreakdownStat(): Promise; getBranchAccountSizesBreakdownStat(): Promise; getQuoteAccountSizesBreakdownStat(symbol: string): Promise; getQuoteAccountTypesBreakdownStat(symbol: string): Promise; getBranchAccountTypesBreakdownStat(): Promise; getModelTopPositionsStat(modelId: number, by?: TopPositionsType, maxPositions?: number): Promise; getModelMarketCapBreakdownStat(modelId: number): Promise; getModelSectorsBreakdownStat(modelId: number): Promise; getModelAccountSizesBreakdownStat(modelId: number): Promise; getModelAccountTypesBreakdownStat(modelId: number): Promise; getAccountTopPositionsStat(accountId: number, by?: TopPositionsType, maxPositions?: number): Promise; getAccountTopPositionsBreakdownStat(accountId: number, topPositions?: number): Promise; getAccountMarketCapBreakdownStat(accountId: number): Promise; getAccountSectorsBreakdownStat(accountId: number): Promise; getGroupTopPositionsStat(groupId: number, by?: TopPositionsType, maxPositions?: number): Promise; getGroupMarketCapBreakdownStat(groupId: number): Promise; getGroupAccountSizesBreakdownStat(groupId: number): Promise; getGroupSectorsBreakdownStat(groupId: number): Promise; getGroupAccountTypesBreakdownStat(groupId: number): Promise; getAccountPositionTypeBreakdownStat(accountId: number): Promise; getAccountSecurityTypeBreakdownStat(accountId: number): Promise; getUserAccountTypesBreakdownStat(userId: number): Promise; getQuoteStat(symbol: string, range: TimeRange, crypto?: boolean): Promise; getQuoteIntraday(symbol: string): Promise; getQuoteHistorical(symbol: string, range?: TimeRange): Promise; }