import { lookup as dnsLookupCb } from "node:dns"; import { lookup as dnsLookup } from "node:dns/promises"; import { type Dispatcher } from "undici"; export declare class SsrFBlockedError extends Error { constructor(message: string); } type LookupFn = typeof dnsLookup; export declare function isPrivateIpAddress(address: string): boolean; export declare function isBlockedHostname(hostname: string): boolean; export declare function createPinnedLookup(params: { hostname: string; addresses: string[]; fallback?: typeof dnsLookupCb; }): typeof dnsLookupCb; export type PinnedHostname = { hostname: string; addresses: string[]; lookup: typeof dnsLookupCb; }; export declare function resolvePinnedHostname(hostname: string, lookupFn?: LookupFn): Promise; export declare function createPinnedDispatcher(pinned: PinnedHostname): Dispatcher; export declare function closeDispatcher(dispatcher?: Dispatcher | null): Promise; export declare function assertPublicHostname(hostname: string, lookupFn?: LookupFn): Promise; export {};