import { IpV4IterationOptions } from "./ipv4"; import { IterationProgress } from "./progress"; export * from "toip"; export { iterateIpV4Addresses, IpV4Range, IpV4IterationOptions, max32BitInteger, IpV4Cidr, } from "./ipv4"; export * from "./ipv6"; export * from "./progress"; /** * Legacy interface for backward compatibility with v1.1.1 * 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 const range: (opts?: IpV4IterationOptions) => { startWith(start: string): any; /** * @deprecated Use {@link iterateIpV4Addresses} instead */ iterate(callback?: (ip: string, progress: IterationProgress) => void): Generator<{ ip: string; progress: IterationProgress; }, void, unknown> | undefined; /** * @deprecated Use {@link iterateIpV4Addresses} instead */ iterateAsync(callback?: (ip: string, progress: IterationProgress) => Promise): Promise | undefined>; };