import { Tag } from "../tag"; import { ApplicationModelId, TestSessionId } from "../types"; import { WebmateAPISession } from "../webmate-api-session"; import { TestExecutionSpec } from "./spec/test-execution-spec"; export declare abstract class TestExecutionSpecBuilder { protected readonly tags: Tag[]; protected readonly models: ApplicationModelId[]; protected readonly testSessionIds: TestSessionId[]; protected optSession: WebmateAPISession | undefined; /** * Add a Tag corresponding to the current date, e.g. "2020-11-10". */ withCurrentDateAsTag(): TestExecutionSpecBuilder; withTag(tag: Tag): TestExecutionSpecBuilder; /** * Add a Tag corresponding to the given string. */ withTagName(tagName: string, value?: string): TestExecutionSpecBuilder; withModel(model: ApplicationModelId): TestExecutionSpecBuilder; inTestSession(sessionId: TestSessionId): TestExecutionSpecBuilder; setApiSession(session: WebmateAPISession): TestExecutionSpecBuilder; abstract build(): TestExecutionSpec; }