import { Address } from "./address"; export declare class Network { readonly addr: Address; private netbits; constructor(network?: string, throwErrors?: boolean); from(address: Address, cidr: number): this; destroy(): this; cidr(): number; isValid(): boolean; duplicate(): Network; toString(): string; next(): this; previous(): this; lastAddr(): Address; setCIDR(cidr: number, throwErrors?: boolean): this; compare(network: Network): number | null; contains(network: Network): boolean; intersects(network: Network): boolean; adjacent(network: Network): boolean; }