12/**3* IsRsync checks if a host is running a Rsync server.4* @example5* ```javascript6* const rsync = require('nuclei/rsync');7* const isRsync = rsync.IsRsync('acme.com', 873);8* log(toJSON(isRsync));9* ```10*/11export function IsRsync(host: string, port: number): IsRsyncResponse | null {12return null;13}1415/**16* RsyncClient is a client for RSYNC servers.17* Internally client uses https://github.com/gokrazy/rsync driver.18* @example19* ```javascript20* const rsync = require('nuclei/rsync');21* const client = new rsync.RsyncClient();22* ```23*/24export class RsyncClient {2526// Constructor of RsyncClient27constructor() {}2829/**30* Connect establishes a connection to the rsync server with authentication.31* @example32* ```javascript33* const rsync = require('nuclei/rsync');34* const client = new rsync.RsyncClient();35* const connected = client.Connect('acme.com', 873, 'username', 'password', 'backup');36* ```37*/38public Connect(host: string, port: number, username: string, password: string, module: string): boolean | null {39return null;40}4142/**43* ListModules lists available modules on the rsync server.44* @example45* ```javascript46* const rsync = require('nuclei/rsync');47* const client = new rsync.RsyncClient();48* const modules = client.ListModules('acme.com', 873, 'username', 'password');49* log(toJSON(modules));50* ```51*/52public ListModules(host: string, port: number, username: string, password: string): string[] | null {53return null;54}5556/**57* ListFilesInModule lists files in a specific module on the rsync server.58* @example59* ```javascript60* const rsync = require('nuclei/rsync');61* const client = new rsync.RsyncClient();62* const files = client.ListFilesInModule('acme.com', 873, 'username', 'password', 'backup');63* log(toJSON(files));64* ```65*/66public ListFilesInModule(host: string, port: number, username: string, password: string, module: string): string[] | null {67return null;68}69}7071/**72* IsRsyncResponse is the response from the IsRsync function.73* this is returned by IsRsync function.74* @example75* ```javascript76* const rsync = require('nuclei/rsync');77* const isRsync = rsync.IsRsync('acme.com', 873);78* log(toJSON(isRsync));79* ```80*/81export interface IsRsyncResponse {8283IsRsync?: boolean,8485Banner?: string,86}87888990