import { IRequestOptions } from "@esri/arcgis-rest-request";
import { IModel } from "../hub-types";
/**
 * Get a model by it's slug
 *
 * This uses the [Filter](https://developers.arcgis.com/rest/users-groups-and-items/search-reference.htm) option of the
 * to search for an item that has a typekeyword of `slug|{slug-value}`
 *
 * This is useful for applications that want to use human-readable urls instead
 * of using item ids.
 *
 * @param slug
 * @param requestOptions
 * @returns
 */
export declare function getModelBySlug(slug: string, requestOptions: IRequestOptions): Promise<IModel>;
