import { BarItem, BarsLatestItem, BarsLatestResponse, BarsResponse } from './bars.type'; /** * Fake OHLC bars for EURUSD spanning both M1 and H1 buckets. * Includes rows with null fields to exercise nullability. */ export declare const MOCK_BARS: BarItem[]; interface MockBarsParams { symbol: string; interval: string; fromTime?: string; toTime?: string; serverName?: string; limit?: number; sortDirection?: 'asc' | 'desc'; } /** * Build a fake BarsResponse matching the requested interval. * Filters MOCK_BARS by interval, echoes symbol/interval, sets * sourceInterval='M1', aggregated=(interval!=='M1'), count=items.length. */ export declare function mockBars(params: MockBarsParams): BarsResponse; /** * Fake latest-bar rows mirroring the live `POST /api/v1/chart/bars/latest` * response (demo server, `source: 'broker_snapshot'`). Values mirror a real * snapshot; `mt5Ts` is a fixed minute bucket. */ export declare const MOCK_LATEST_BARS: Record; /** * Build a fake BarsLatestResponse — keyed by symbol, echoing the requested * `serverName`; symbols with no fake row are omitted (same behaviour as the * backend for unknown symbols). */ export declare function mockBarsLatest(params: { symbols: string[]; serverName?: string; }): BarsLatestResponse; export {}; //# sourceMappingURL=mock.d.ts.map