import { type CommandCatalog } from './gateway/index.ts'; export type CatalogPiece = { name: string; description: string; ownerOnly?: boolean; }; /** Host commands first, then built-in fallbacks, then user-invocable skills. Command names win. */ export declare function buildCatalog(commands: readonly CatalogPiece[], skills: readonly CatalogPiece[]): CommandCatalog; export declare function formatHelp(catalog: CommandCatalog): string; export declare function feishuSlashesFromCatalog(catalog: CommandCatalog): { command: string; description: string; }[]; export type ListedSkill = { name: string; description: string; invocation?: { userInvocable?: boolean; }; }; /** Keep user-invocable skills; first listing of a name wins. */ export declare function mergeUserSkills(batches: readonly (readonly ListedSkill[])[]): { name: string; description: string; }[]; export declare function skillListViews(hostSessionIds: readonly string[]): { scope?: { session: { id: string; }; }; }[]; export declare function slashesFromCatalog(catalog: CommandCatalog): { command: string; description: string; should_escape: false; url: string; usage_hint?: string; }[];