import type { Emitter } from "@codesandbox/pitcher-common"; import type { setup as setupProtocol } from "@codesandbox/pitcher-protocol"; export interface ISetupClient { onSetupProgressUpdate: Emitter["event"]; onSetupProgressError: Emitter["event"]; readyPromise: Promise | undefined; 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 auto setup and skip all steps */ disable(): void; /** * Enable auto setup */ enable(): void; /** * Initiate setup */ init(): Promise; } //# sourceMappingURL=ISetupClient.d.ts.map