/** * Resolve the local Agent Server URL for trusted loopback clients. * * Prefers `explicit`, then `MDA_CHANNEL_API_URL` / `LANGGRAPH_API_URL`, else * `http://127.0.0.1:{PORT|8000}`. `LANGSMITH_ENDPOINT` is deliberately not * consulted: it is the tracing/API endpoint (LangSmith SaaS by default), not * this server's origin. */ export declare function resolveLoopbackApiUrl(explicit?: string): string; /** * API key for trusted loopback LangGraph SDK clients. * * Prefers `explicit`, then `LANGSMITH_API_KEY`, else `"local"` (in-process / * unit-test clients that do not authenticate against Host). */ export declare function resolveLoopbackApiKey(explicit?: string): string; /** * Whether `value` addresses this host. * * Server-local trust (the ingress secret, which lets its holder assert any * actor id) must never travel to an off-host origin, so callers gate it on * this predicate. * * @param value - Absolute URL, or a host with an optional port. */ export declare function isLoopbackUrl(value: string): boolean; /** * Whether a `Host`-style value (optional port, optional brackets) is loopback. * * @param host - Host value such as `localhost:8000`, `127.0.0.1`, or `[::1]:80`. */ export declare function isLoopbackHost(host: string): boolean; //# sourceMappingURL=loopback.d.ts.map