/** * Copyright (c) 2025 Elara AI Pty Ltd * Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details. */ import type { AllocationValue } from "./model.js"; /** The board's nouns, as the payload carries them. */ export type Nouns = AllocationValue["labels"]; /** One noun: its singular as a heading writes it, its plural and its article. */ export type Noun = Nouns["lane"]; /** * A word in running text: lower case, unless it is written in capitals. * * @param word - The word as a heading writes it * @returns The word as a sentence writes it */ export declare function lower(word: string): string; /** The singular in running text: `kiln`. */ export declare const one: (noun: Noun) => string; /** The plural in running text: `kilns`. */ export declare const other: (noun: Noun) => string; /** The singular after its article: `a kiln`, `an arrival`. */ export declare const a: (noun: Noun) => string; /** A count in a noun: `1 bin`, `3 bins`. */ export declare const counted: (n: number, noun: Noun) => string; /** The nouns with no labels given, as the tag resolves them. */ export declare const DEFAULT_NOUNS: Nouns; /** The board's nouns, for its parts. */ export declare const NounsContext: import("react").Context<{ readonly lane: { readonly one: string; readonly other: string; readonly article: string; }; readonly arrival: { readonly one: string; readonly other: string; readonly article: string; }; readonly resource: { readonly one: string; readonly other: string; readonly article: string; }; readonly quantity: string; readonly bin: { readonly one: string; readonly other: string; readonly article: string; }; readonly reservation: { readonly one: string; readonly other: string; readonly article: string; }; readonly reserved: string; readonly priorJob: string; readonly nextJob: string; readonly hold: string; readonly groups: { readonly overdue: string; readonly ready: string; readonly removed: string; readonly allocated: string; readonly free: string; readonly loading: string; readonly busy: string; }; }>; /** The board's nouns. */ export declare const useNouns: () => Nouns; //# sourceMappingURL=nouns.d.ts.map