import { IHubContent } from "../../core/types/IHubContent"; import { IFetchContentOptions } from "../types"; /** * Fetch enriched content from the Portal and Hub APIs. * Currently used in the Ember content service, arcgis-hub-dataset-field-list and arcgis-hub-metadata-list components. * @param identifier content slug or id * @param options Request options with additional options to control how the content or enrichments are fetched * @returns A content object composed of the backing item and enrichments * * ```js * import { fetchContent } from '@esri/hub-common' * // fetch content by slug * const content = await fetchContent('my-org::item-name') * ``` */ export declare const fetchContentHubIndex: (identifier: string, options?: IFetchContentOptions) => Promise;