import type { Emitter } from "@codesandbox/pitcher-common"; import type { client as clientProtocol } from "@codesandbox/pitcher-protocol"; export type ErrorExtras = Record; export type ErrorEmitter = Emitter<{ message: string; extras?: ErrorExtras; }>; export type Clients = clientProtocol.ClientJSON[]; export type RelativeWorkspacePath = `$RELATIVE/${string}`; export type AbsoluteWorkspacePath = `$ABSOLUTE/${string}`; export type RawFsResult = { type: "ok"; result: T; } | { type: "error"; error: string; errno: number | null; }; export interface PitcherManagerResponse { bootupType: "RUNNING" | "CLEAN" | "RESUME" | "FORK"; pitcherURL: string; workspacePath: string; userWorkspacePath: string; pitcherManagerVersion: string; pitcherVersion: string; latestPitcherVersion: string; pitcherToken: string; cluster: string; } //# sourceMappingURL=types.d.ts.map