export declare class UrlError extends Error {
    constructor(message: string);
}
/**
 * Validates a URL to prevent SSRF attacks.
 */
export declare function validatePublicUrl(url: string): Promise<void>;
export declare function isValidPublicIPv4Address(address: string): boolean;
export declare function isValidPublicIPv6Address(address: string): boolean;
export declare function expandIPv6Address(address: string): string;
//# sourceMappingURL=url.d.ts.map