#!/usr/bin/env node
/**
 * REST API Server for Memory Service
 * Provides HTTP interface for web applications
 */
declare class APIServer {
    private fastify;
    private memoryCore;
    private port;
    private host;
    constructor(port?: number, host?: string);
    private setupMiddleware;
    private setupRoutes;
    private setupErrorHandling;
    private addMemory;
    private searchMemories;
    private getMemories;
    private createEntity;
    private searchEntities;
    private getEntities;
    private unifiedSearch;
    private getStatistics;
    private createUser;
    start(): Promise<void>;
    stop(): Promise<void>;
}
export { APIServer };
//# sourceMappingURL=server.d.ts.map