import type { ClaimedSocket, ProcessInfo, RelayPlatform } from './types' const NOT_SUPPORTED = new Error('Platform not supported') export class UnsupportedPlatform implements RelayPlatform { readonly isSupported = false fakeSocketPath(): string { throw NOT_SUPPORTED } ipcSocketPath(): string { throw NOT_SUPPORTED } removeFakeSocket(): void { throw NOT_SUPPORTED } finalizeFakeSocket(): void { throw NOT_SUPPORTED } fakeSocketExists(): boolean { throw NOT_SUPPORTED } async recoverLeftoverSockets(): Promise { throw NOT_SUPPORTED } async discoverAndClaim(): Promise { throw NOT_SUPPORTED } async discoverNewSocket(): Promise { throw NOT_SUPPORTED } restoreSocket(): void { throw NOT_SUPPORTED } discardClaimedSocket(): void { throw NOT_SUPPORTED } async isSocketAlive(): Promise { return false } async removeStaleIpcSocket(): Promise { throw NOT_SUPPORTED } getInstanceProcess(): ProcessInfo | null { return null } getPeerProcess(): ProcessInfo | null { return null } killProcess(): boolean { return false } isProcessAlive(): boolean { return false } launchExecutable(): boolean { return false } }