from netaddr.ip import IPNetwork, _IPAddressAddr

class SubnetSplitter:
    def __init__(self, base_cidr: _IPAddressAddr) -> None: ...
    def extract_subnet(self, prefix: int, count: int | None = None) -> list[IPNetwork]: ...
    def available_subnets(self) -> list[IPNetwork]: ...
    def remove_subnet(self, ip_network: IPNetwork) -> None: ...
