import type { AnswersQuestions, CollectsArtifacts, UsesAbilities } from '@serenity-js/core'; import { Interaction } from '@serenity-js/core'; /** * Stops the local server. Should be used in `afterEach` block to make sure that the server * is correctly shut down even when the test fails. * * @group Activities */ export declare class StopLocalServer extends Interaction { /** * Stops the server if it's running. If the server hasn't been started, this interaction does nothing. */ static ifRunning(): Interaction; /** * @inheritDoc */ performAs(actor: UsesAbilities & CollectsArtifacts & AnswersQuestions): Promise; } //# sourceMappingURL=StopLocalServer.d.ts.map