export declare namespace yahooFin { const IndexGroup: { WORLD_INDEX: { name: string; key: string; }[]; INDIA_INDEX: { name: string; key: string; }[]; }; type TStockInfo = { _id: string; ltp: number; open: number; symbol: string; name: string; exchange: TExchange; volume: number; high: number; low: number; change: number; pchange: number; timestamp: number; week52High?: number; week52Low?: number; avgVolume?: number; yAnalystRating?: string; pre_ltp?: number; pre_pchange?: number; post_ltp?: number; post_pchange?: number; previousClose?: number; ltp_ext?: number; clock_type: TClockType; [key: string]: any; raw_payload?: any; }; type TExchange = "NSE" | "BSE" | "NASDAQ" | "LSE"; function getTradingViewKey(key: string): any; function isSymbolSupportedByExchange(symbol: string, exchange: TExchange): boolean; function getExchangeFromKey(id: string): TExchange; function getSymbolFromFullKey(key: string): string; function getKeyFromSymbol(symbol: string, exchange: TExchange): string; function getTradingViewUrl(s: yahooFin.TStockInfo): string; function getYEx2TvEx(s: string): string; function getBulkStockQuoteWithFullKey1(symbols: string[]): Promise; function getBulkStockQuoteWithFullKey2(symbols: string[]): Promise; function getBulkStockQuoteWithFullKey3(symbols: string[]): Promise; type TInterval = "1d" | "5m" | "15m" | "1h"; type TRange = "1d" | "5d" | "1mo" | "3mo" | "6mo" | "1y" | "2y" | "5y" | "10y" | "ytd" | "max"; type THistoryData = { timestamp: number[]; open: number[]; close: number[]; high: number[]; low: number[]; volume: number[]; date: Date[]; }; function getHistoryData(symbol: string, interval: TInterval, candle_count?: number, range?: TRange): Promise; function getHistoryDataInRage(symbol: string, startISO: string, endISO: string, interval: string): Promise; function getBulkHistoryData(symbols: string[], interval: TInterval, candle_count?: number): Promise | undefined>; type TSupportedNSEIndex = "NIFTY 50" | "NIFTY BANK" | "NIFTY ENERGY" | "NIFTY 200" | "NIFTY 500"; function fetchNSEIndexList(index: TSupportedNSEIndex): Promise; function getAllBSEData(): Promise; function processStockInfo(info: TStockInfo): void; type TClockType = 'PRE_MARKET' | 'ON_MARKET' | 'POST_MARKET' | 'OFF_MARKET'; function getTradingClockType(exchange: TExchange): TClockType; }