import { IAggregateQuery, IAggResponseFormatted } from "./aggregates"; import { IConditionMappings } from "./conditionMappings"; import { IDailyOpenClose } from "./dailyOpenClose"; import { IExchangeFormatted } from "./exchanges"; import { ILastQuoteResult } from "./lastQuoteForSymbol"; import { ILastTradeResult } from "./lastTradeForSymbol"; import { ISnapshotAllTickersResultFormatted, ISnapshotGainersLosersResultFormatted, ISnapshotSingleTickerResultFormatted } from "./snapshots"; import { IV1HistoricQuotesQuery, IV1HistoricQuotesResultFormatted } from "./v1HistoricQuotes"; import { IV1HistoricTradesQuery, IV1HistoricTradesResultFormatted } from "./v1HistoricTrades"; import { IV2HistoricQuotesQuery, IV2HistoricQuotesResultFormatted } from "./v2HistoricQuotes"; import { IV2HistoricTradesQuery, IV2HistoricTradesResultFormatted } from "./v2HistoricTrades"; export { IAggregateQuery, IAggResponseFormatted } from "./aggregates"; export { IConditionMappings } from "./conditionMappings"; export { IDailyOpenClose } from "./dailyOpenClose"; export { IExchangeFormatted } from "./exchanges"; export { ILastQuoteResult } from "./lastQuoteForSymbol"; export { ILastTradeResult } from "./lastTradeForSymbol"; export { ISnapshotAllTickersResultFormatted, ISnapshotGainersLosersResultFormatted, ISnapshotSingleTickerResultFormatted } from "./snapshots"; export { IV1HistoricQuotesQuery, IV1HistoricQuotesResultFormatted } from "./v1HistoricQuotes"; export { IV1HistoricTradesQuery, IV1HistoricTradesResultFormatted } from "./v1HistoricTrades"; export { IV2HistoricQuotesQuery, IV2HistoricQuotesResultFormatted } from "./v2HistoricQuotes"; export { IV2HistoricTradesQuery, IV2HistoricTradesResultFormatted } from "./v2HistoricTrades"; export interface IStocksClient { conditionMappings: (ticktype?: string) => Promise; dailyOpenClose: (symbol: string, date: string) => Promise; exchanges: () => Promise; lastQuoteForSymbol: (symbol: string) => Promise; lastTradeForSymbol: (symbol: string) => Promise; v1HistoricQuotes: (symbol: string, date: string, query?: IV1HistoricQuotesQuery) => Promise; v1HistoricTrades: (symbol: string, date: string, query?: IV1HistoricTradesQuery) => Promise; v2HistoricQuotes: (symbol: string, date: string, query?: IV2HistoricQuotesQuery) => Promise; v2HistoricTrades: (symbol: string, date: string, query?: IV2HistoricTradesQuery) => Promise; snapshotAllTickers: () => Promise; snapshotSingleTicker: (ticker: string) => Promise; snapshotGainersLosers: (direction?: string) => Promise; previousClose: (ticker: string, query?: IAggregateQuery) => Promise; aggregates: (ticker: string, multiplier: number, timespan: string, from: string, to: string, query?: IAggregateQuery) => Promise; groupedDaily: (locale: string, market: string, date: string, query?: IAggregateQuery) => Promise; } export declare const stocksClient: (apiKey: string, apiBase?: string) => IStocksClient; export default stocksClient;