/** * テストヘルパー - テスト環境のセットアップとティアダウン */ import { MCPServiceE2ETester } from '@coeiro-operator/mcp-debug'; /** * テスト環境のオプション */ export interface TestEnvironmentOptions { /** テストディレクトリ名のプレフィックス */ prefix?: string; /** 設定ファイルを作成するか */ createConfig?: boolean; /** サーバポート */ port?: number; /** インデックスディレクトリを作成するか(auto-start用) */ createIndexDir?: boolean; } /** * テスト環境 */ export interface TestEnvironment { /** テストディレクトリのパス */ testDir: string; /** MCPテスター */ tester: MCPServiceE2ETester; /** サーバポート */ port: number; /** クリーンアップ関数 */ cleanup: () => Promise; } /** * テスト環境をセットアップ */ export declare function setupTestEnvironment(options?: TestEnvironmentOptions): Promise; //# sourceMappingURL=test-setup.d.ts.map