import { Waiter } from '@holochain/hachiko'; import * as T from "./types"; import { Player } from "./player"; import { TrycpClient } from './trycp'; declare type Modifiers = { singleConductor: boolean; }; export declare class ScenarioApi { description: string; _localPlayers: Record; _trycpClients: Array; _uuid: string; _waiter: Waiter; _modifiers: Modifiers; _activityTimer: any; constructor(description: string, orchestratorData: any, uuid: string, modifiers?: Modifiers); players: (machines: T.ObjectS>, spawnArgs?: any) => Promise>; consistency: (players?: Player[] | undefined) => Promise; _getClient: (machineEndpoint: any) => Promise; _clearTimer: () => void; _restartTimer: () => void; _destroyLocalConductors: () => Promise; /** * Only called externally when there is a test failure, * to ensure that players/conductors have been properly cleaned up */ _cleanup: (signal?: any) => Promise; } export {};