/** * Configuration file loader for YAML and JSON formats */ import type { DeviceConfig } from '../types/config.js'; export interface ConfigFile { transport: { type: 'tcp' | 'rtu' | 'memory'; port?: number | string; host?: string; baudRate?: number; parity?: 'none' | 'even' | 'odd'; dataBits?: 7 | 8; stopBits?: 1 | 2; lock?: boolean; }; devices: DeviceConfig[]; } /** * Load configuration from YAML or JSON file */ export declare function loadConfig(filePath: string): Promise; //# sourceMappingURL=config-loader.d.ts.map