src/vs/workbench/contrib/terminal/browser/remoteTerminalService.ts/RemoteTerminalService/getTerminalLayoutInfo
class RemoteTerminalService:	async getTerminalLayoutInfo(): Promise<ITerminalsLayoutInfo | undefined> {
		if (!this._remoteTerminalChannel) {
			throw new Error(`Cannot call getActiveInstanceId when there is no remote`);
		}

		return this._remoteTerminalChannel.getTerminalLayoutInfo();
	}