import type { DockerHost } from './classes.host.js'; import type { DockerService } from './classes.service.js'; import type { INetworkCreationDescriptor, INetworkListOptions, TNetworkRemoveStatus } from './interfaces/network.js'; import type { TLabels } from './interfaces/label.js'; import { DockerResource } from './classes.base.js'; interface INetworkContainerAttachment { Name: string; EndpointID: string; MacAddress: string; IPv4Address: string; IPv6Address: string; } export declare class DockerNetwork extends DockerResource { static _list(dockerHostArg: DockerHost, optionsArg?: INetworkListOptions): Promise; static _fromId(dockerHostArg: DockerHost, idArg: string): Promise; static _fromName(dockerHostArg: DockerHost, nameArg: string): Promise; static _create(dockerHostArg: DockerHost, descriptorArg: INetworkCreationDescriptor): Promise; Name: string; Id: string; Created: string; Scope: string; Driver: string; EnableIPv6: boolean; Internal: boolean; Attachable: boolean; Ingress: boolean; Labels: TLabels; Options: Record; Containers?: Record; IPAM: { Driver: string; Config: Array<{ Subnet?: string; IPRange?: string; Gateway?: string; }>; Options?: Record; }; private readonly immutableId; constructor(dockerHostArg: DockerHost, dockerNetworkObjectArg: Record); refresh(): Promise; hasLabels(requiredLabelsArg: TLabels): boolean; remove(): Promise; listContainersOnNetwork(): Promise; getContainersOnNetworkForService(serviceArg: DockerService): Promise; } export {};