export declare function detectLocale(): string;
/**
 * Read `process.env.NEXT_PUBLIC_PRIMESTYLE_API_KEY` when a host still uses
 * the legacy browser-key flow. First-party/proxy integrations can leave it
 * empty; request helpers will simply omit the Authorization header.
 *
 * IMPORTANT: this MUST be a literal `process.env.X` access, NOT a
 * dynamic property read like `process.env[key]`. Bundlers (Next.js
 * SWC, Vite `define`, Webpack DefinePlugin) only perform STATIC
 * replacement of literal property accesses. A dynamic access escapes
 * the replacement and falls through to a runtime `process` lookup,
 * which throws `ReferenceError: process is not defined` in any
 * pure-browser context (Shopify storefront, etc.).
 *
 * The try/catch is the runtime safety net for environments that
 * neither replace at build time NOR provide a `process` shim.
 */
export declare function getApiKey(): string;
export declare function getApiUrl(override?: string): string;
