// node native scope
import * as fs from 'fs';
import * as http from 'http';
import * as https from 'https';
import * as path from 'path';
import * as stream from 'stream';

export { http, https, fs, path, stream };

// pushrocks scope
import * as smartpromise from '@push.rocks/smartpromise';
import * as smarturl from '@push.rocks/smarturl';
import * as smartmime from '@push.rocks/smartmime';

export { smartpromise, smarturl, smartmime };

// third party scope
import AgentKeepAlive from 'agentkeepalive';
const agentkeepalive = {
  HttpAgent: AgentKeepAlive.HttpAgent ?? AgentKeepAlive,
  HttpsAgent: AgentKeepAlive.HttpsAgent,
};
export { agentkeepalive };
