export type SverkloMode = "embedded" | "shared" | "cloud"; export interface ModeResolution { mode: SverkloMode; reason: string; } export declare function resolveMode(argv: string[], env?: NodeJS.ProcessEnv): ModeResolution; export declare class SverkloModeError extends Error { constructor(message: string); } /** * Produce a clear, user-facing error for modes that are reserved but * not yet implemented. Called from the CLI before attempting to start * the server in an unsupported mode. We explicitly link the tracking * issue so users have a concrete next step. */ export declare function notYetImplemented(mode: SverkloMode): string;