import { Account, Order, Position, Asset, Watchlist, Calendar, Clock, AccountConfigurations, PortfolioHistory, Activity, DefaultCredentials, OAuthCredentials, OrderCancelation, PageOfTrades, PageOfQuotes, PageOfBars, Bar_v1, LastQuote_v1, LastTrade_v1, Snapshot, NewsPage, LatestTrade, Endpoints } from './entities.js'; import { GetOrder, GetOrders, PlaceOrder, ReplaceOrder, CancelOrder, GetPosition, ClosePosition, GetAsset, GetAssets, GetWatchList, CreateWatchList, UpdateWatchList, AddToWatchList, RemoveFromWatchList, DeleteWatchList, GetCalendar, UpdateAccountConfigurations, GetAccountActivities, GetPortfolioHistory, GetBars, GetBars_v1, GetTrades, GetQuotes, GetLastTrade_v1, GetLastQuote_v1, GetSnapshot, GetSnapshots, ClosePositions, GetNews, GetLatestTrade } from './params.js'; export declare class AlpacaClient { params: { rate_limit?: boolean; endpoints?: Endpoints | Map; credentials?: DefaultCredentials | OAuthCredentials; }; private baseURLs; private limiter; constructor(params: { rate_limit?: boolean; endpoints?: Endpoints | Map; credentials?: DefaultCredentials | OAuthCredentials; }); isAuthenticated(): Promise; getAccount(): Promise; getOrder(params: GetOrder): Promise; getOrders(params?: GetOrders): Promise; placeOrder(params: PlaceOrder): Promise; replaceOrder(params: ReplaceOrder): Promise; cancelOrder(params: CancelOrder): Promise; cancelOrders(): Promise; getPosition(params: GetPosition): Promise; getPositions(): Promise; closePosition(params: ClosePosition): Promise; closePositions(params: ClosePositions): Promise; getAsset(params: GetAsset): Promise; getAssets(params?: GetAssets): Promise; getWatchlist(params: GetWatchList): Promise; getWatchlists(): Promise; createWatchlist(params: CreateWatchList): Promise; updateWatchlist(params: UpdateWatchList): Promise; addToWatchlist(params: AddToWatchList): Promise; removeFromWatchlist(params: RemoveFromWatchList): Promise; deleteWatchlist(params: DeleteWatchList): Promise; getCalendar(params?: GetCalendar): Promise; getNews(params?: GetNews): Promise; getClock(): Promise; getAccountConfigurations(): Promise; updateAccountConfigurations(params: UpdateAccountConfigurations): Promise; getAccountActivities(params: GetAccountActivities): Promise; getPortfolioHistory(params?: GetPortfolioHistory): Promise; /** @deprecated Alpaca Data API v2 is currently in public beta. */ getBars_v1(params: GetBars_v1): Promise<{ [symbol: string]: Bar_v1[]; }>; /** @deprecated Alpaca Data API v2 is currently in public beta. */ getLastTrade_v1(params: GetLastTrade_v1): Promise; /** @deprecated Alpaca Data API v2 is currently in public beta. */ getLastQuote_v1(params: GetLastQuote_v1): Promise; getTrades(params: GetTrades): Promise; getQuotes(params: GetQuotes): Promise; getBars(params: GetBars): Promise; getLatestTrade({ symbol, feed, limit, }: GetLatestTrade): Promise; getSnapshot(params: GetSnapshot): Promise; getSnapshots(params: GetSnapshots): Promise<{ [key: string]: Snapshot; }>; private request; }