import type { GuardedFetchResult } from "../../infra/net/fetch-guard.js"; import type { LookupFn, SsrFPolicy } from "../../infra/net/ssrf.js"; export { fetchWithTimeout } from "../../utils/fetch-timeout.js"; export declare function normalizeBaseUrl(baseUrl: string | undefined, fallback: string): string; export declare function fetchWithTimeoutGuarded(url: string, init: RequestInit, timeoutMs: number, fetchFn: typeof fetch, options?: { ssrfPolicy?: SsrFPolicy; lookupFn?: LookupFn; pinDns?: boolean; }): Promise; export declare function postTranscriptionRequest(params: { url: string; headers: Headers; body: BodyInit; timeoutMs: number; fetchFn: typeof fetch; allowPrivateNetwork?: boolean; }): Promise; export declare function postJsonRequest(params: { url: string; headers: Headers; body: unknown; timeoutMs: number; fetchFn: typeof fetch; allowPrivateNetwork?: boolean; }): Promise; export declare function readErrorResponse(res: Response): Promise; export declare function assertOkOrThrowHttpError(res: Response, label: string): Promise; export declare function requireTranscriptionText(value: string | undefined, missingMessage: string): string;