import { IItem } from "@esri/arcgis-rest-portal";
import { IHubRequestOptions } from "../hub-types";
import { IHubDiscussion } from "../core/types/IHubDiscussion";
/**
 * @private
 * Get a Discussion by id or slug
 * @param identifier item id or slug
 * @param requestOptions request options
 * @returns a promise that resolves a IHubDiscussion
 */
export declare function fetchDiscussion(identifier: string, requestOptions: IHubRequestOptions): Promise<IHubDiscussion>;
/**
 * @private
 * Convert a Hub Discussion Item into a Hub Discussion, fetching any additional
 * information that may be required
 * @param item the discussion item
 * @param auth request options
 * @returns a promise that resolves a IHubDiscussion
 */
export declare function convertItemToDiscussion(item: IItem, requestOptions: IHubRequestOptions): Promise<IHubDiscussion>;
