export declare class TestServer { private serverProcess; private port; private isRunning; constructor(port?: number); /** * Start the test server */ start(): Promise; /** * Stop the test server */ stop(): Promise; /** * Wait for the server to be ready */ private waitForServer; /** * Get the base URL for the test server */ getBaseUrl(): string; /** * Get URL for a specific test page */ getUrl(path: string): string; /** * Check if server is running */ get running(): boolean; } /** * Get or create the global test server instance */ export declare function getTestServer(): TestServer; /** * Helper function to replace httpbin URLs with local test server URLs */ export declare function replaceHttpbinUrls(instruction: string, testServer: TestServer): string;