import type { CreateFetchOptions, FetchFunction } from './types'; /** * Returns true for *.localhost subdomains (e.g. auth.localhost) * but not for bare "localhost". */ export declare function isLocalhostSubdomain(hostname: string): boolean; /** * Create a fetch function for browser environments. * * Browsers resolve *.localhost subdomains natively and do not have the * Host-header restriction that Node.js undici has, so no workaround * is needed — just return `globalThis.fetch`. The `options` argument * (e.g. `loopback`) is accepted for signature parity with the Node build * and ignored here. * * The result is cached — calling `createFetch()` multiple times returns * the same function instance. */ export declare function createFetch(_options?: CreateFetchOptions): FetchFunction;