// Types for src/card-grammar.js (#1079) — the hosted Worker imports it; the stdio door is plain JS. export interface CardGrammarParam { name: string; kind: string; required: boolean; label: string; hint: string; options?: string[]; accepts?: string[]; } export interface CardGrammarCell { type: string; title: string; purpose: string; body: { kind: string; label: string; hint: string } | null; params: CardGrammarParam[]; example: string; } export interface CardGrammar { how_to_read: string; line_shape: { template: string; multiline: string; pattern: string }; cells: CardGrammarCell[]; retired_params: string[]; version: string; } export function describeCardGrammar(opts?: { cell?: string }): CardGrammar;