import { Server } from 'net'; import { AxioDB } from '../../Services/Indexation.operation'; /** Path to a PEM cert + matching private key, used to encrypt the TCP server with TLS instead of plaintext. */ export interface TCPTLSOptions { certPath: string; keyPath: string; } /** * TCP Server for AxioDB * Provides remote access to AxioDB via TCP protocol */ export default function createAxioDBTCPServer(axioDB: AxioDB, port?: number, requireAuth?: boolean, tlsOptions?: TCPTLSOptions): Promise;