import { SshSession } from './sshSession';
import { SshChannel } from './sshChannel';
/**
 * Extension methods for piping sessions and channels.
 *
 * Note this class is not exported from the package. Instead, the piping APIs are exposed via
 * public methods on the `SshSession` and `SshChannel` classes. See those respective methods
 * for API documentation.
 */
export declare class PipeExtensions {
    static pipeSession(session: SshSession, toSession: SshSession): Promise<void>;
    static pipeChannel(channel: SshChannel, toChannel: SshChannel): Promise<void>;
    private static forwardSessionRequest;
    private static forwardChannel;
    private static forwardChannelRequest;
    private static forwardSessionClose;
    private static forwardData;
    private static forwardExtendedData;
    private static forwardChannelClose;
}
//# sourceMappingURL=pipeExtensions.d.ts.map