/**
 * Derive the CDN base URL from where the runtime SDK was loaded.
 *
 * When a customer (or our card iframe, or Claude.ai) loads
 * `cdn.syntrologie.com/runtime-sdk/v2/canary/smart-canvas.min.js`, we want
 * subsequent lazy adaptive fetches (e.g. `adaptive-mcp/index.js`) to come
 * from the same channel — not the bare CDN root. Otherwise a canary build
 * accidentally pulls latest-channel adaptives, or vice versa.
 *
 * This module captures `document.currentScript?.src` at parse time (which
 * is when the SDK bundle is being evaluated by the browser) and exposes
 * it via `getDerivedCdnBase()`. By the time `Syntro.init(...)` runs, this
 * value is already set.
 *
 * The value strips the trailing `/smart-canvas.min.js` (or any filename),
 * leaving just the directory: `https://cdn.syntrologie.com/runtime-sdk/v2/canary`.
 *
 * Returns `null` outside the browser or if `currentScript.src` isn't a
 * full URL we can parse.
 */
export declare function getDerivedCdnBase(): string | null;
