/** * One place that decides which server the SDK talks to. * * There used to be three answers: `channel/rest-client.ts`, * `channel/sse-client.ts` and `channel/oauth-client.ts` defaulted to * `https://www.astrid.cc/api/v1`, while `adapters/astrid-oauth.ts` defaulted to * `https://astrid.cc`. Those disagree about the HOST, not just the brand, so * the SDK could hold a session on one origin and call the API on another — * wrong on Astrid, and doubly wrong for anyone pointing it at their own * deployment (task 979e1325). * * Resolution order, most specific first: * 1. an explicit value passed by the caller * 2. ASTRID_API_URL / ASTRID_API_BASE_URL in the environment * 3. the Astrid production origin */ /** Origin only, e.g. `https://www.astrid.cc`. */ export declare function resolveOrigin(explicit?: string): string; /** Versioned API base, e.g. `https://www.astrid.cc/api/v1`. */ export declare function resolveApiBase(explicit?: string): string; //# sourceMappingURL=api-base.d.ts.map