import { IRequestOptions } from "@esri/arcgis-rest-request";
import { IHubTemplate } from "../core/types/IHubTemplate";
import { IHubRequestOptions } from "../hub-types";
import { IItem } from "@esri/arcgis-rest-portal";
import { IHubSearchResult } from "../search/types/IHubSearchResult";
/**
 * @private
 * Fetch a Hub Template backing item by id or slug
 * @param identifier item id or slug
 * @param requestOptions
 */
export declare function fetchTemplate(identifier: string, requestOptions: IRequestOptions): Promise<IHubTemplate>;
/**
 * @private
 * Convert a Solution Item into a Hub Template, fetching
 * any additional information that may be required
 * @param item
 * @param auth
 */
export declare function convertItemToTemplate(item: IItem, requestOptions: IRequestOptions): Promise<IHubTemplate>;
/**
 * @private
 * Fetch template specific enrichments
 * @param item
 * @param include
 * @param requestOptions
 */
export declare function enrichTemplateSearchResult(item: IItem, include: string[], requestOptions: IHubRequestOptions): Promise<IHubSearchResult>;
