import type { BaudRate, DataBits, Parity, StopBits, SupportedSerialConfig } from '@ya-modbus/driver-types'; import type { DiscoveryStrategy, GeneratorOptions } from './parameter-generator.js'; /** * Get parameter arrays based on strategy, configuration, and filters */ export declare function getParameterArrays(strategy: DiscoveryStrategy, supportedConfig?: SupportedSerialConfig, filters?: { baudRates?: BaudRate[]; parities?: Parity[]; }): { baudRates: readonly BaudRate[]; parities: readonly Parity[]; dataBits: readonly DataBits[]; stopBits: readonly StopBits[]; addressRange: readonly [number, number]; }; /** * Count the total number of parameter combinations without materializing them * * This is much more efficient than Array.from(generateParameterCombinations()).length * as it calculates the count mathematically instead of generating all combinations. * * @param options - Generator options * @returns Total number of combinations that will be generated * * @example * ```typescript * const count = countParameterCombinations({ strategy: 'quick' }) * console.log(`Will test ${count} combinations`) // Will test 3952 combinations * ``` */ export declare function countParameterCombinations(options: GeneratorOptions): number; //# sourceMappingURL=parameter-generator-utils.d.ts.map