/** Returns the known hosts content in SSH known_hosts format. */ export declare function getKnownHostsContent(): string; /** * Ensures that the mittwald known_hosts file exists and is up-to-date. Returns * the path to the file. * * @param configDir The oclif config directory (typically ~/.config/mw on * Linux/macOS) */ export declare function ensureKnownHostsFile(configDir: string): string; /** * Returns SSH command-line options to use the embedded known hosts. * * These options configure SSH to use our embedded known hosts file as a * "global" known hosts file, which is checked in addition to the user's own * ~/.ssh/known_hosts file. * * @param configDir The oclif config directory (typically ~/.config/mw on * Linux/macOS) */ export declare function getSSHKnownHostsFlags(configDir: string): string[]; /** * Returns the SSH options string for use with rsync's --rsh flag or scp. * * @example * // For rsync: * `--rsh "ssh ${getSSHKnownHostsArgsString(configDir)}"`; * * @example * // For scp: * `scp ${getSSHKnownHostsArgsString(configDir)} source dest`; * * @param configDir The oclif config directory (typically ~/.config/mw on * Linux/macOS) */ export declare function getSSHKnownHostsArgsString(configDir: string): string;