* * @throws DaemonConnectionException */ public function list(Server $server, string $directory = '/'): array; }