import type { AppErrorImpl } from '../result/errors.js'; import { type Result } from '../result/result.js'; import type { IWiringSourceInput } from './i-wiring-source-input.js'; import type { IWiringSource } from './wiring-rule.js'; /** * THE normaliser of one extraction source's markable lists (round 13): `files` * (`list: 'files'`) and an `import-edges` target's `to.files` (`list: * 'to.files'`) go through core's one parser, `normalizeUnitList`, into the * plain string lists every engine reads, and every `{ pattern, expectEmpty: * true }` entry into the source's `expectEmptyUnits` ledger. * * IDEMPOTENT: a loaded source (plain lists) comes back equal, its ledger kept * — so the loader, the pack merge seam, `gates try` and the engine entries * (`inspectSource`, `runWiring`) may all call it, and a hand-built source * never reaches a reader with an object in a glob list. A malformed entry is a * `CONFIG_INVALID` error naming every bad entry (`files[1]: …`), never a crash. */ export declare function normalizeWiringSource(source: IWiringSource | IWiringSourceInput): Result; //# sourceMappingURL=normalize-wiring-source.d.ts.map