import { ExtendedRouteFlags } from "@layerswap/widget-types"; /** * Public, CORS-open endpoint on the canonical bridge deployment that returns the * resolved extended-route flags (see `apps/bridge/pages/api/flags.ts`). Served by * the SAME deployment that hosts the Polymarket relayer proxy, so the flag state a * client reads here always matches the gate it will hit at withdrawal time. * Absolute for the same reason as `POLYMARKET_RELAYER_PROXY_URL`: embeds run on * third-party origins, so a relative path would resolve against the host page. */ export declare const EXTENDED_ROUTE_FLAGS_URL = "https://layerswap.io/app/api/flags"; /** * Fetch the extended-route kill switches for clients with no SSR flag resolution * (CDN embeds, deposit integrations). Returns undefined on ANY failure — the * registry then falls back to each provider's `enabledByDefault`, which encodes the * per-provider fail-open/fail-closed decision (fail-closed for credential-bearing * routes like Polymarket). */ export declare function fetchExtendedRouteFlags(): Promise; //# sourceMappingURL=remoteFlags.d.ts.map