import { MarketDataItem } from '@stoqey/finnhub'; export declare type GroupBy = '1s' | '10s' | '1m' | '5m' | '10m' | '30m' | '1h' | '6h' | '12h' | '1d' | '7d' | '30d' | '365d'; /** * * @param params * @param targetPath */ export declare function fetchMarketData({ symbol, startDate, endDate, range }: { symbol: any; startDate: Date; endDate?: Date; range?: GroupBy; }): Promise; /** * * @param params * @param targetPath */ export declare function sendDataToMarketDataServer(params: Record, targetPath?: string): Promise>;