/** * A `` or `` group that wraps fewer than two sequences. * * Such a group used to be dropped in silence: `check` said the config was * valid, the run succeeded, and the constraint the author asked for was simply * not there. Measured on the reference before this check existed — five rows * drawn from three values inside a one-member `` came out `2 2 2 2 3`. * * It is a warning, not an error, because the config still runs and still means * something; what it does not do is what the author wrote it for. */ import type { Diagnostic } from '../errors/index.js'; import type { OpenCloseElementContext } from '../generated/TDCParser.js'; /** * Count the `` members and warn if there are not enough to compare. * * ``, `` and `` all count — every one of them is a * member the group can rearrange, a switch only within rows that share its * subject. */ export declare function checkGroupSize(wrapper: OpenCloseElementContext, diagnostics: Diagnostic[], tag: string): void; export declare function checkGroupDerivedMember(wrapper: OpenCloseElementContext, diagnostics: Diagnostic[], tag: string): void; /** * A group whose members draw from a ``. * * The group's promise is kept by member IDENTITY here — no two of them hand one * row the same member of the pool — because a record has no value of its own to * compare. That works, and these are the three shapes it cannot mean: * * - a reference beside an ordinary sequence: one holds a record and the other * a string, and there is no field the comparison would be about; * - references to two DIFFERENT pools: a doctor is never the same record as a * ward, so the group would be satisfied without doing anything; * - more references than the pool has members: no arrangement exists. * * All three used to be accepted and then do nothing at all — the config asked * for a constraint, the engine agreed, and the constraint was not there. */ export declare function checkGroupPoolMembers(wrapper: OpenCloseElementContext, diagnostics: Diagnostic[], tag: string, poolCounts: ReadonlyMap): void; //# sourceMappingURL=group-size.d.ts.map