import type { setup as setupProtocol } from "@codesandbox/pitcher-protocol"; import type { ISetupClient } from "../../interface/clients/ISetupClient"; import type { PitcherMessageHandler } from "../PitcherMessageHandler"; export declare class SetupClient implements ISetupClient { private messageHandler; private setupProgress; private setupProgressUpdateEmitter; onSetupProgressUpdate: import("@codesandbox/pitcher-common").Event; private setupProgressErrorEmitter; onSetupProgressError: import("@codesandbox/pitcher-common").Event; readyPromise: Promise | undefined; constructor(messageHandler: PitcherMessageHandler); private createSetupProgressValue; getProgress(): setupProtocol.SetupProgress; resync(): void; /** * Skip the currently running step. We expect you to send the current step as a verification for Pitcher * to know whether you'd like to skip the current step. */ skipStep(stepIndexToSkip: number): Promise; /** * Skip the entire remaining progress. Current step is finished as SKIPPED, rest of the steps are ignored */ skipAll(): Promise; /** * Sets the current step, allows you to go back in time again */ setStep(stepIndex: number): Promise; disable(): void; enable(): void; init(): Promise; } //# sourceMappingURL=SetupClient.d.ts.map