/** * Operating system port schema. * * @since 1.0.0 */ import { Address, Port } from "effect-schemas/Internet"; import * as Schema from "effect/Schema"; declare const PortSet_base: Schema.Record$, Schema.TemplateLiteral<`${number}/tcp`>, Schema.TemplateLiteral<`${number}/udp`>]>, typeof Schema.Object>; /** * A set of operating system ports. * * @since 1.0.0 * @category Schemas * @see https://github.com/docker/go-connections/blob/5df8d2b30ca886f2d94740ce3c54abd58a5bb2c9/nat/nat.go#L23 */ export declare class PortSet extends PortSet_base { } declare const PortBinding_base: Schema.Struct<{ HostPort: Schema.transform; HostIp: Schema.optional, typeof Address]>>; }>; /** * A port binding between the exposed port (container) and the host. * * @since 1.0.0 * @category Schemas * @see https://github.com/docker/go-connections/blob/5df8d2b30ca886f2d94740ce3c54abd58a5bb2c9/nat/nat.go#L11-L17 */ export declare class PortBinding extends PortBinding_base { } declare const PortMap_base: Schema.Record$, Schema.TemplateLiteral<`${number}/tcp`>, Schema.TemplateLiteral<`${number}/udp`>]>, Schema.NullOr>>; /** * Port mapping between the exposed port (container) and the host. * * @since 1.0.0 * @category Schemas * @see https://github.com/docker/go-connections/blob/5df8d2b30ca886f2d94740ce3c54abd58a5bb2c9/nat/nat.go#L20 */ export declare class PortMap extends PortMap_base { } export {};