#!/usr/bin/env node
/**
 * Memento MCP Server 메인 진입점
 */
import { type ServerServices } from '@memento/core';
import Database from 'better-sqlite3';
export declare class Semaphore {
    private permits;
    private waiting;
    constructor(permits: number);
    acquire(): Promise<void>;
    release(): void;
}
/**
 * 서버 시작
 */
export declare function startServer(): Promise<void>;
/**
 * 리소스 정리
 */
export declare function cleanup(): Promise<void>;
/** 테스트 전용 의존성 주입 도구 */
export declare const __test: {
    setTestDependencies: (deps: {
        database: Database.Database | null;
        serverServices: ServerServices | null;
    }) => void;
};
//# sourceMappingURL=index.d.ts.map