export declare const max32BitInteger = 4294967295; export interface IpV4Range { /** * The starting IP address (inclusive) * * @default 0.0.0.0 */ from?: number | string; /** * The final IP address (inclusive) * * @default 255.255.255.255 */ to?: number | string; } export interface NumberRange { from: number; to: number; } export type IpV4Cidr = string; export type IpV4IterationOptions = IpV4Range | IpV4Cidr; /** * @internal This function is exported only for the sake of maintaining the backward compatibility. Don't call it directly */ export declare const getIpV4Range: (opts: IpV4IterationOptions) => NumberRange; /** * Iterates over all IPv4 addresses defined by the range. * If the range is not specified, it will iterate over all IPv4 addresses. * @param opts - The CIDR notation like 0.0.0.0/0, or an object like {from: '0.0.0.0', to: '255.255.255.255'} or {from: 0, to: 4294967295} */ export declare function iterateIpV4Addresses(opts?: IpV4IterationOptions): Generator;