export interface FikaDocParam { name: string; type?: string; required?: boolean; description?: string; } export interface FikaCommandDoc { summary?: string; details?: string; params?: FikaDocParam[]; examples?: string[]; tips?: string[]; related?: string[]; } export interface FikaDomainDoc { title: string; summary: string; whenToUse?: string; } export interface FikaDesignGuide { id: string; title: string; summary: string; /** Body lines (join with "\n" to render). */ body: string[]; } export interface FikaDesignSystem { summary: string; coordinateSystem: { summary: string; notes: string[]; }; tokens: { summary?: string; colors?: Record; fontFamily?: string; fontSizePx?: Record; spacingPx?: Record; }; } export interface FikaAgenticDocs { version: number; summary: string; designSystem: FikaDesignSystem; domains: Record; commands: Record; guides: FikaDesignGuide[]; } /** A command description merged with live registry facts (registered? mutates?). */ export interface FikaCommandDescription extends FikaCommandDoc { name: string; domain: string; registered: boolean; mutates: boolean; } /** A domain summary merged with the live registry command list. */ export interface FikaDomainSummary { id: string; title: string; summary: string; whenToUse?: string; commandCount: number; commands: string[]; } /** Minimal structural view of the command registry needed for introspection. */ export type FikaCommandRegistryView = ReadonlyMap; export declare const AGENTIC_DOCS: FikaAgenticDocs; /** Describe a single command: its doc annotation plus live registry facts. */ export declare function describeAgenticCommand(registry: FikaCommandRegistryView, commandType: string): FikaCommandDescription | null; /** List domains (from the live registry + docs) with their command names. */ export declare function listAgenticDomains(registry: FikaCommandRegistryView): FikaDomainSummary[];