import type { WorkspaceIntegrationProvider } from "./setup-types.js"; export declare class RelayfileSetupError extends Error { readonly code: string; constructor(message: string, code: string); } export declare class CloudApiError extends RelayfileSetupError { readonly httpStatus: number; readonly httpBody: unknown; constructor(httpStatus: number, httpBody: unknown, message?: string); } export declare class MalformedCloudResponseError extends RelayfileSetupError { readonly field: string; readonly response: unknown; constructor(field: string, response: unknown); } export declare class CloudTimeoutError extends RelayfileSetupError { readonly operation: string; readonly timeoutMs: number; constructor(operation: string, timeoutMs: number); } export declare class IntegrationConnectionTimeoutError extends RelayfileSetupError { readonly provider: WorkspaceIntegrationProvider; readonly connectionId: string; readonly elapsedMs: number; readonly timeoutMs: number; constructor(input: { provider: WorkspaceIntegrationProvider; connectionId: string; elapsedMs: number; timeoutMs: number; }); } export declare class CloudAbortError extends RelayfileSetupError { readonly operation: string; constructor(operation: string); } export declare class UnknownProviderError extends RelayfileSetupError { readonly provider: string; constructor(provider: string); } export declare class MissingConnectionIdError extends RelayfileSetupError { readonly provider: WorkspaceIntegrationProvider; constructor(provider: WorkspaceIntegrationProvider); } export declare class MountSessionInputError extends RelayfileSetupError { constructor(message: string); } export declare class InvalidMountModeError extends RelayfileSetupError { readonly mode: string; constructor(mode: string); } export declare class InvalidLocalDirError extends RelayfileSetupError { readonly localDir: string; constructor(localDir: string, message?: string); } export declare class InvalidRemotePathError extends RelayfileSetupError { readonly remotePath: string; constructor(remotePath: string, message?: string); } export declare class MountModeUnavailableError extends RelayfileSetupError { readonly mode: string; constructor(mode: string, message?: string); } export declare class MountReadyTimeoutError extends RelayfileSetupError { readonly localDir: string; readonly timeoutMs: number; constructor(localDir: string, timeoutMs: number); } export declare class ProviderNotConnectedError extends RelayfileSetupError { readonly provider: WorkspaceIntegrationProvider; constructor(provider: WorkspaceIntegrationProvider); } export declare class ProviderNotReadyError extends RelayfileSetupError { readonly provider: WorkspaceIntegrationProvider; readonly state?: string; readonly initialSyncState?: string; constructor(input: { provider: WorkspaceIntegrationProvider; state?: string; initialSyncState?: string; }); }