/** * JSON output formatter for device profiler */ import type { RegisterType } from './read-tester.js'; import type { ScanResult } from './register-scanner.js'; /** * Options for JSON formatter */ export interface JSONFormatterOptions { /** Register type scanned */ type: RegisterType; /** Start address of scan */ startAddress: number; /** End address of scan */ endAddress: number; /** Batch size used for scanning */ batchSize: number; /** Connection port (serial or TCP) */ port: string; } /** * Format scan results as JSON * * @param results - Array of scan results * @param options - Scan configuration metadata * @returns Formatted JSON string with 2-space indentation */ export declare function formatJSON(results: ReadonlyArray, options: JSONFormatterOptions): string; //# sourceMappingURL=json-formatter.d.ts.map