/**
 * Resolve the Inspector base URL the sandbox session handoff should redirect
 * to.
 *
 * The session handoff fires from the sandbox landing page after `POST
 * /sandbox/session/new` succeeds: the visitor is redirected to
 * `<inspectorBase>/#session=<one_time_code>&base=<sandbox_base>&pack=<id>`.
 * The Inspector then `fetch`es `<sandbox_base>/sandbox/session/redeem` to
 * exchange the one-time code for a bearer token. Any time the Inspector base
 * is on a different protocol than the sandbox base, that fetch is a
 * mixed-content request and gets blocked silently by the browser, leaving
 * the visitor staring at the public-user dashboard with zero seeded data.
 *
 * Resolution order (mirrors `resolveInspectorLandingUrl` in
 * [src/services/inspector_mount.ts](../inspector_mount.ts)):
 *
 *   1. `NEOTOMA_INSPECTOR_DISABLE=1` -> falls back to the hosted Inspector
 *      so the visitor still has a redeem target. Mixed-content guard still
 *      applies below.
 *   2. `NEOTOMA_PUBLIC_INSPECTOR_URL` -> explicit external override wins.
 *      Hosted sandbox uses this so its HTTPS landing page redirects to the
 *      HTTPS Inspector at `https://inspector.neotoma.io`.
 *   3. Bundled / `NEOTOMA_INSPECTOR_STATIC_DIR` -> same-origin local mount.
 *      This is the safe path for local HTTP dev: redirect stays on
 *      `http://localhost:<port>/inspector`, redeem fetch stays same-origin.
 *   4. Hosted Inspector default (`https://inspector.neotoma.io`).
 *
 * After resolving, the helper guards against the mixed-content trap. If the
 * sandbox is on `http://` and the resolved Inspector URL is on `https://`,
 * it throws `SandboxInspectorMixedContentError` so the route handler can
 * surface an actionable 503 instead of silently sending the visitor into
 * the empty public dashboard.
 */
export declare const HOSTED_INSPECTOR_URL = "https://inspector.neotoma.io";
export declare class SandboxInspectorMixedContentError extends Error {
    readonly sandboxBase: string;
    readonly inspectorBase: string;
    constructor(sandboxBase: string, inspectorBase: string);
}
export declare function resolveSandboxInspectorRedirectBase(sandboxBase: string, env?: NodeJS.ProcessEnv): string;
//# sourceMappingURL=inspector_redirect.d.ts.map