import { RootAPIHelper } from './root-api'; /** * Retrieves merge variable data * @param apiKey Root API key with CLI permissions * @returns The policy merge vars that will be injected into product module documentation */ export const getIntellisense = async (params: { apiKey: string; host: string }) => { const { apiKey, host } = params; const rootApi = new RootAPIHelper({ host, apiKey, throwResponseErrors: true }); const path = '/cli/intellisense'; return rootApi.send({ path }); };