import type { KnowledgeModule, DeviceProfileBase, DocIndexEntry, PromptFragment } from '@rdk-moss/core'; export interface RobotHubModuleMeta { id: string; name: string; version: string; description: string; icon?: string; author?: string; tags: string[]; enabled: boolean; builtin: boolean; createdAt: string; updatedAt: string; sourceFiles?: string[]; platforms: string[]; } export interface SerializableCommandPattern { pattern: string; category: string; description: string; riskLevel: 'safe' | 'moderate' | 'dangerous'; } export interface SerializableFailureHint { errorPattern: string; suggestion: string; docUrl?: string; } export interface RobotHubModuleData { deviceProfiles: Record; docIndex: DocIndexEntry[]; promptFragments: PromptFragment[]; commandPatterns: SerializableCommandPattern[]; failureHints: SerializableFailureHint[]; ecosystemPrompt: string; } export interface RobotHubModule { meta: RobotHubModuleMeta; data: RobotHubModuleData; } export declare function toKnowledgeModule(hub: RobotHubModule): KnowledgeModule; export declare function createEmptyModule(name: string, description: string): RobotHubModule; //# sourceMappingURL=robot-hub-types.d.ts.map