/**
 * Represents a port being forwarded over an SSH session.
 */
export declare class ForwardedPort {
    /**
     * Gets the port number on the local side, or null if this is a remotely forwarded port
     * for which there is no local TCP listener.
     */
    readonly localPort: number | null;
    /**
     * Gets the port number on the remote side, or null if this is a remotely forwarded port
     * and the remote port number is not known.
     */
    readonly remotePort: number | null;
    /**
     * String representation of the (immutable) forwarded port.
     */
    private readonly str;
    /**
     * Gets a string representation of the forwarded port, which includes both
     * local and remote port numbers if present.
     *
     * An arrow shows the direction of connections (channel open requests).
     * Once connections are opened, data may flow in both directions.
     */
    toString(): string;
}
//# sourceMappingURL=forwardedPort.d.ts.map