UNPKG

voyage-and-consumption-mcp-server

Version:

Voyage and consumption management server handling vessel position tracking, ETA monitoring, fuel consumption, lube oil consumption, fresh water production and weather data

22 lines (21 loc) 655 B
import { Client } from 'typesense'; /** * Initialize Typesense client connection with retry logic * This should be called during server startup */ export declare function initializeConnection(): Client; /** * Get Typesense client * If not already initialized, this will initialize the client */ export declare function getTypesenseClient(): Client; /** * Check if Typesense connection is healthy * @returns True if connected, false otherwise */ export declare function isTypesenseConnected(): boolean; /** * Close Typesense connection * This should be called during server shutdown */ export declare function closeConnection(): Promise<void>;