import { CidrRange__Output } from './generated/envoy/config/core/v3/CidrRange'; export interface CidrRange { addressPrefix: string; prefixLen: number; } export declare function parseIPv4(address: string): bigint; export declare function parseIPv6(address: string): bigint; export declare function formatIPv4(address: bigint): string; export declare function formatIPv6(address: bigint): string; export declare function firstNBitsIPv4(address: string, prefixLen: number): string; export declare function firstNBitsIPv6(address: string, prefixLen: number): string; export declare function normalizeCidrRange(range: CidrRange): CidrRange; export declare function getCidrRangeSubnetMask(range: CidrRange): bigint; export declare function inCidrRange(range: CidrRange, address: string): boolean; export declare function cidrRangeEqual(range1: CidrRange | undefined, range2: CidrRange | undefined): boolean; export declare function cidrRangeMessageToCidrRange(message: CidrRange__Output): CidrRange;