function fetchRouteData(itemPath, options) {
    var querystringParams = options.querystringParams, layoutServiceConfig = options.layoutServiceConfig;
    var fetchUrl = resolveLayoutServiceUrl(layoutServiceConfig, 'render');
    return fetchData(fetchUrl, options.fetcher, __assign({ item: itemPath }, querystringParams));
}
/**
 * Makes a request to Sitecore Layout Service for the specified route item path.
 * @deprecated Will be removed in a future release. Please use LayoutService.fetchLayoutData instead,
 * @see {LayoutService} - fetchLayoutData
 * @param {string} itemPath
 * @param {LayoutServiceRequestOptions<LayoutServiceData>} options
 * @returns {Promise<LayoutServiceData>} layout data
 */
Makes a request to Sitecore Layout Service for the specified route item path.
@deprecated Will be removed in a future release. Please use LayoutService.fetchLayoutData instead,
@see {LayoutService} - fetchLayoutData
@param {string} itemPath
@param {LayoutServiceRequestOptions} options
@returns {Promise} layout data
Makes a request to Sitecore Layout Service for the specified route item path . @deprecated Will be removed in a future release . Please use LayoutService . fetchLayoutData instead @see { LayoutService } - fetchLayoutData @param { string } itemPath @param { LayoutServiceRequestOptions } options @returns { Promise } layout data
function fetchRouteData(itemPath, options) {
    var querystringParams = options.querystringParams, layoutServiceConfig = options.layoutServiceConfig;
    var fetchUrl = resolveLayoutServiceUrl(layoutServiceConfig, 'render');
    return fetchData(fetchUrl, options.fetcher, __assign({ item: itemPath }, querystringParams));
}
function fetchRouteData ( itemPath , options ) { var querystringParams = options . querystringParams , layoutServiceConfig = options . layoutServiceConfig ; var fetchUrl = resolveLayoutServiceUrl ( layoutServiceConfig , 'render' ) ; return fetchData ( fetchUrl , options . fetcher , __assign ( { item : itemPath } , querystringParams ) ) ; }
Makes a request to Sitecore Layout Service for the specified route item path.
Makes a request to Sitecore Layout Service for the specified route item path .