import { UnitEntryForm } from './unit-entry-form.js'; /** * THE shape rule for one marker object, as problem sentences WITHOUT a * location prefix (the caller adds `[i]: `). Empty means well formed. * `normalizeUnitList`, `normalizeUnitMap` and `normalizeUnitScalar` all call * it, so no list re-implements what a marker is. * * - The unit key (`pattern`, or `weight` in a boost map) must be present: * `pattern` a non-empty string, `weight` a number. A marker with none is "a * marker naming no unit"; a synonym key (`glob`, `path`, …) is named as the * mistake it is — the unit is `pattern` on every list. * - `expectEmpty` must be the literal `true`; otherwise write the plain value. * - `reason`, when present, must be a non-empty string. * - Any other key is refused, with a did-you-mean through the ONE scorer * (`nearestIds`, `@shrkcrft/core`). */ export declare function markerEntryProblems(entry: Readonly>, form: UnitEntryForm): readonly string[]; //# sourceMappingURL=marker-entry-problems.d.ts.map