/** * Build ScannerDataProviders for use when the plugin starts a strategy. * Uses the same transport (mcpTransport or apiKey) as the runtime so scanners get getSmData, getCandles, etc. */ import type { McpTransport } from "../senpi/types.js"; import type { ScannerDataProviders } from "../scanners/engine/data-providers.js"; import type { SenpiScannerProviderFactoryOptions } from "../scanners/providers/factory.js"; export interface CreateScannerProvidersForRunOptions { mcpTransport?: McpTransport; apiKey?: string; logger?: SenpiScannerProviderFactoryOptions["logger"]; } /** * Builds a ScannerDataProviders instance from the same transport the runtime uses. * Call this before run() and pass the result as scannerProviders so the scanner module has getSmData, getCandles, etc. * * With apiKey this creates and connects a SenpiClient here; Runtime will create a second one. A follow-up could optimize to a single connection. */ export declare function createScannerProvidersForRun(options: CreateScannerProvidersForRunOptions): Promise; //# sourceMappingURL=create-scanner-providers-for-run.d.ts.map