/** * Environment variable that overrides the configured `shop.homeUrl`. When set, * it takes precedence over every config file; when unset (or empty) the store * falls back to `shop.homeUrl` and then to `http://localhost:`. */ export declare const HOME_URL_ENV = "EVERSHOP_HOME_URL"; /** * Resolve the store's base URL. Precedence (highest first): * 1. process.env.EVERSHOP_HOME_URL * 2. config `shop.homeUrl` * 3. http://localhost: * Trailing slashes are always stripped. */ export declare function getBaseUrl(): string; /** * Boot-time guard for the `EVERSHOP_HOME_URL` override. If the variable is set, * it must be a valid absolute http(s) URL — otherwise every absolute link and * email the store generates would be broken. Throwing here halts boot (the * caller in module bootstrap is wrapped in the start/build try/catch that calls * `process.exit`). A missing/empty variable is allowed: the store then falls * back to `shop.homeUrl`, which the configuration schema validates separately. */ export declare function assertValidHomeUrlEnv(): void;