import type { Answerable } from '@serenity-js/core'; import { Interaction } from '@serenity-js/core'; /** * Starts local server so that a test can interact with it. * * @group Activities */ export declare class StartLocalServer { /** * Starts local test server on a random available ports. */ static onRandomPort(): Interaction; /** * Instructs the [`Actor`](https://serenity-js.org/api/core/class/Actor/) to start a local test server on a `preferredPort`, * or a random one if that's not available. * * @param preferredPort */ static onPort(preferredPort: Answerable): Interaction; /** * Instructs the [`Actor`](https://serenity-js.org/api/core/class/Actor/) to start a local test server on a random port * between `lowestPort` and `highestPort`, inclusive. * * @param {Answerable} lowestPort * Lower bound of the preferred port range * * @param {Answerable} highestPort * Upper bound of the preferred port range */ static onRandomPortBetween(lowestPort: Answerable, highestPort: Answerable): Interaction; } //# sourceMappingURL=StartLocalServer.d.ts.map