import type { IExtractorHostPlanes, IExtractorRefError } from './resolve-plane-extractors.js'; /** * THE post-resolution check of every `$use` source in the extractor-hosting * planes: `validateWiringSource` on the MERGED shape (the named extractor's * fields with the local overrides on top), one `{ path, message }` per problem. * * The schema cannot judge a `$use` source on its own — half its fields arrive * from the named extractor — so the "exactly one extraction mode, per-kind * required fields, a glob list with an inclusion" contract is enforced on the * source the engines will actually run. Three callers need the identical * answer (round 12 review, R12-X3): the config loader (a local rule fails the * load), the pack-plane merge seam (`resolveProjectConfig` — a pack element is * REJECTED, never adopted half-valid) and `gates try` (a candidate that would * not load is refused). The seam used to skip it, so a pack rule overriding an * extractor with a negation-only `files` was reported accepted by `packs * contributions` / `packs doctor` while `check wiring` called it misconfigured. * * Round 13 adds the two `expectEmpty` checks the schema cannot make either, * because the marks of a `$use` source arrive with the merge: * - every mark names a unit of the RESOLVED list it sits on (a local `files` * override replaces the extractor's markers wholesale — `resolveExtractorRef` * — so a stray mark is a bug in that seam, refused rather than ignored); * - a rule's PRIMARY source may not have every inclusion unit marked while * the rule sets `failOnEmpty: true` (`markedListFailOnEmptyConflict`, the * one conflict rule the schema applies to an inline list). * * `path` names the source (`wiringRules[].declared`); `message` is * `(via extractor ""): `, so `${path} ${message}` is the loader's * sentence. An inline (non-`$use`) source is the schema's to judge and is not * re-checked here. */ export declare function validateResolvedPlaneSources(planes: IExtractorHostPlanes): readonly IExtractorRefError[]; //# sourceMappingURL=validate-resolved-plane-sources.d.ts.map