type EnvironmentTesting = { frontendUrl?: string; adminUrl?: string; allowInsecureTls?: boolean; }; /** Unknown is valid for a local stack until the agent has identified its actual lifecycle. */ export type EnvironmentStatus = "running" | "stopped" | "unknown"; export type LocalEnvironment = { type: "local"; root: string; testing?: EnvironmentTesting; }; export type WardenEnvironment = { type: "warden"; projectRoot: string; root: string; filesService: string; targets: Record; testing?: EnvironmentTesting; }; export type SshEnvironment = { type: "ssh"; host: string; root: string; testing?: EnvironmentTesting; }; export type Environment = LocalEnvironment | WardenEnvironment | SshEnvironment; export {};