import type { OpenCodeServerAcquisition, OpenCodeServerManagerLike } from "./server-manager.js";
export interface TestOpenCodeServerAcquisition {
    force: boolean;
    env?: Record<string, string>;
    released: boolean;
}
export declare class TestOpenCodeServerManager implements OpenCodeServerManagerLike {
    readonly acquisitions: TestOpenCodeServerAcquisition[];
    readonly server: {
        port: number;
        url: string;
    };
    ensureRunningCount: number;
    ensureRunning(): Promise<{
        port: number;
        url: string;
    }>;
    acquire(options: {
        force: boolean;
        env?: Record<string, string>;
    }): Promise<OpenCodeServerAcquisition>;
}
export declare function createTestOpenCodeServerManager(): TestOpenCodeServerManager;
//# sourceMappingURL=test-server-manager.d.ts.map