/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ /** * Arity (B§4.6 — `Sheet Spec.md` §5 row 9): while the arity half is being * edited the strip meta reads *4 × CNC router implied · 3 named so far* — never * inside the cell. Named = each identified member once, a counted member by * its count, a range by its span; text and placeholders do not count. */ import { type LinkVocabulary } from "./grammar.js"; import type { SheetMemberValue } from "../values.js"; import type { SheetWords } from "../words.js"; /** A counted member the arity rule proposes. */ export interface Counted { n: number; key: string; } /** How many members a half names. */ export declare function namedCount(members: readonly SheetMemberValue[], vocab: LinkVocabulary): number; /** * The strip meta for the arity half, in the sheet's words (#861) — `""` when * nothing is implied or named. * * @param implied - The count the arity rule implies * @param named - How many members the half names * @param w - The sheet's words * @returns The line */ export declare function arityMeta(implied: Counted | undefined, named: number, w: SheetWords): string; //# sourceMappingURL=arity.d.ts.map