/** * glossary command (CUT A1) — terminal access to the LiteShip prose register, * mirroring GLOSSARY.md. Pure data + lookup returning a structured result; * the CLI adapter owns pretty rendering and stdout emission. * * @module */ import { Schema } from 'effect'; import type { HandledCommand } from '../registry.js'; /** * One ontology term. Mirrors a row in GLOSSARY.md. The single source for both * the TS type ({@link GlossaryEntry}) and the JSON-Schema fragment of the * `entries` array element — derived, never hand-written beside the type. */ export declare const GlossaryEntrySchema: Schema.Struct<{ readonly term: Schema.String; readonly category: Schema.Union, Schema.Literal<"primitive">, Schema.Literal<"translator-note">]>; readonly definition: Schema.String; readonly seeAlso: Schema.optional>; }>; /** One ontology term. Mirrors a row in GLOSSARY.md. */ export type GlossaryEntry = Schema.Schema.Type; /** * Structured payload returned by the glossary command — ONE Effect Schema is the * source of both {@link GlossaryPayload} and the descriptor's `outputSchema` * (derived below), so the TS type and the JSON-Schema cannot drift. */ export declare const GlossaryPayloadSchema: Schema.Struct<{ readonly term: Schema.NullOr; readonly entries: Schema.$Array, Schema.Literal<"primitive">, Schema.Literal<"translator-note">]>; readonly definition: Schema.String; readonly seeAlso: Schema.optional>; }>>; }>; /** Structured payload returned by the glossary command. */ export type GlossaryPayload = Schema.Schema.Type; /** Args accepted by the glossary command — the single source of its `inputSchema`. */ export declare const GlossaryArgsSchema: Schema.Struct<{ readonly term: Schema.optional; }>; /** The canonical ontology catalog (single source; the CLI re-exports it). */ export declare const GLOSSARY_ENTRIES: readonly GlossaryEntry[]; /** Match entries: exact term wins, else substring over term + definition. */ export declare function matchGlossaryEntries(query: string | null): readonly GlossaryEntry[]; /** The glossary command: descriptor + handler returning a structured result. */ export declare const glossaryCommand: HandledCommand; //# sourceMappingURL=glossary.d.ts.map