export declare function safeName(name: string): string; export interface EntityRow { id: string; name: string; entity_type: string; metadata: string; knowledge_id: string | null; created_at: number; updated_at: number; } export interface TopicRow { id: string; name: string; parent_id: string | null; observation_count: number; last_seen: number | null; } export interface ObsRow { id: string; type: string; content: string; summary: string | null; indexed_at: number; session_id: string | null; } export interface KnowledgeRow { id: string; category: string; title: string; content: string; tags: string; access_count: number; created_at: number; } export declare function renderEntityPage(entity: EntityRow, backlinks: string[]): string; export declare function renderTopicPage(topic: TopicRow, observations: ObsRow[]): string; export declare function renderSessionPage(sessionId: string, observations: ObsRow[]): string; export declare function renderKnowledgePage(k: KnowledgeRow): string; export interface IndexCounts { observations: number; entities: number; topics: number; knowledge: number; sessions: number; } export declare function renderIndex(counts: IndexCounts, topEntities: EntityRow[], recentTopics: TopicRow[], recentKnowledge: KnowledgeRow[]): string; export declare function renderLogEntry(event: string, summary: string, timestamp: number): string; export interface AnswerPage { id: string; question: string; answer: string; sources: Array<{ id: string; title?: string; snippet?: string; }>; createdAt: number; knowledgeId?: string; } export declare function renderAnswerPage(a: AnswerPage): string; //# sourceMappingURL=vault-templates.d.ts.map