/**
 * Auto-detect the environment from the URL and annotate test runs
 * with prod/staging/dev environment information.
 */
export type Environment = "production" | "staging" | "development" | "unknown";
export interface EnvironmentInfo {
    env: Environment;
    host: string;
    protocol: string;
    domain: string;
    label: string;
}
/**
 * Detect the environment from a URL.
 * Uses host patterns to determine prod vs staging vs dev.
 */
export declare function detectEnvironment(url: string): EnvironmentInfo;
/**
 * Override environment detection via environment variable.
 */
export declare function getEnvironmentOverride(): Environment | null;
/**
 * Get environment info for a URL, respecting any override.
 */
export declare function getEnvInfo(url: string): EnvironmentInfo;
//# sourceMappingURL=environment.d.ts.map