export interface EnvironmentConfig { name: string; apiUrl: string; cdnDomain: string; protocol: 'http' | 'https'; } export declare const ENVIRONMENTS: Record; export declare const ENVIRONMENT_ALIASES: Record; /** * Get environment config by name or alias * If the input looks like a URL or domain, create a custom config */ export declare function getEnvironmentConfig(nameOrAlias: string): EnvironmentConfig; /** * Create a custom environment config from a URL or domain */ export declare function createCustomEnvironmentConfig(urlOrDomain: string): EnvironmentConfig; /** * Get environment config by API URL */ export declare function getEnvironmentConfigByApiUrl(apiUrl: string): EnvironmentConfig; /** * Build alias URL for the given environment and parameters */ export declare function buildAliasUrl(environment: EnvironmentConfig, alias: string, storeId: string): string; /** * Build direct deployment URL for the given environment and deployment ID */ export declare function buildDeploymentUrl(environment: EnvironmentConfig, deploymentId: string): string;