/** undici header/body timer used for a forward whose deadline is `deadlineMs`. */ export declare function localAgentChannelDispatcherTimeoutMs(deadlineMs: number): number; /** * `fetch` options for a local-agent channel forward that may run for * `deadlineMs`: an AbortSignal at the deadline, and a dispatcher that does not * give up before it. */ export declare function localAgentChannelFetchInit(deadlineMs: number): RequestInit; /** * True when undici's own header or body timer ended the request * (`UND_ERR_HEADERS_TIMEOUT` / `UND_ERR_BODY_TIMEOUT`). fetch reports them as * `TypeError('fetch failed')` or `TypeError('terminated')` with the timer error * as `cause`. Either way the forward reached the agent and went unanswered, so * callers must report a timeout and must not retry the turn on another target. */ export declare function isUndiciResponseTimeoutError(err: unknown): boolean; //# sourceMappingURL=local-agent-channel-fetch.d.ts.map