export type EnvironmentKind = 'local' | 'cluster' | 'server'; export interface EnvironmentInfo { kind: EnvironmentKind; /** 'high' = trust it; 'ambiguous' = the UI should ask the user once. */ confidence: 'high' | 'ambiguous'; /** Human-readable one-liner for the settings UI ("SLURM detected", …). */ reason: string; hostname: string; platform: NodeJS.Platform; scheduler: string | null; } export declare function getEnvironment(): EnvironmentInfo;