UNPKG

pms-analysis-reports-mcp-server

Version:

PMS analysis reports server handling maintenance reports, equipment analysis, compliance tracking, and performance metrics with ERP access for data extraction

33 lines (32 loc) 985 B
interface TypesenseConfig { connectionTimeoutSeconds: number; retryIntervalSeconds: number; numRetries: number; healthcheckIntervalSeconds: number; } export interface SearchResult { found: number; hits: Array<{ document: any; highlights?: any; text_match?: number; }>; facet_counts?: any; search_time_ms: number; page: number; } export declare function searchDocuments(collection: string, query: string, options?: any): Promise<SearchResult>; export declare function pushToTypesense(data: any, action?: 'create' | 'upsert', collectionName?: string): Promise<void>; export declare function getCollectionInfo(collectionName: string): Promise<any>; export declare function getTypesenseStats(): { healthy: boolean; lastHealthCheck: number; config: TypesenseConfig; client: { host: string; port: string; protocol: string; }; }; export declare const typesenseClient: any; export {};