export interface McpTemplate {
    id?: number;
    name: string;
    description?: string;
    serverConfig: {
        command: string;
        args?: string[];
        env?: Record<string, string>;
    };
    tags?: string[];
    category?: string;
    createdAt?: number;
    updatedAt?: number;
}
/**
 * Save MCP template to database
 */
export declare function saveTemplate(template: McpTemplate): {
    success: boolean;
    id?: number;
    error?: string;
};
/**
 * Get all MCP templates
 */
export declare function getAllTemplates(): McpTemplate[];
/**
 * Get template by name
 */
export declare function getTemplateByName(name: string): McpTemplate | null;
/**
 * Get templates by category
 */
export declare function getTemplatesByCategory(category: string): McpTemplate[];
/**
 * Delete template by name
 */
export declare function deleteTemplate(name: string): {
    success: boolean;
    error?: string;
};
/**
 * Search templates by keyword
 */
export declare function searchTemplates(keyword: string): McpTemplate[];
/**
 * Get all categories
 */
export declare function getAllCategories(): string[];
/**
 * Close database connection
 */
export declare function closeDb(): void;
//# sourceMappingURL=mcp-templates-db.d.ts.map