/** * Interface for a documentation item (same as markdown-loader) */ export interface DocItem { id: string; title: string; content: string; category: string; path: string; } /** * Load all documentation items from database */ export declare function load_markdown_docs(): DocItem[]; /** * Search for documentation items by query */ export declare function search_docs(query: string): DocItem[]; /** * Get documentation items by category */ export declare function get_docs_by_category(category: string): DocItem[]; /** * Get a documentation item by ID */ export declare function get_doc_by_id(id: string): DocItem | undefined; /** * Get a documentation item by category and ID */ export declare function get_doc_by_category_and_id(category: string, id: string): DocItem | undefined; /** * Close database connection */ export declare function closeDb(): void;