#!/usr/bin/env node /** * pi-loom minimal HTTP service. * * Keeps LoomStore as the core runtime and adds only a thin tenant/auth boundary. */ import { type Server as HttpServer } from "node:http"; import { type Server as HttpsServer, type ServerOptions as HttpsOptions } from "node:https"; export interface LoomServiceOptions { dataDir?: string; tokens?: Record; allowAnonymous?: boolean; tls?: HttpsOptions; } export declare function createLoomHttpServer(options?: LoomServiceOptions): HttpServer; export declare function createLoomHttpsServer(options: LoomServiceOptions & { tls: HttpsOptions; }): HttpsServer;