import type { IArcGISContext } from "../types/IArcGISContext";
import { HubEntity } from "../core/types/HubEntity";
import { CardModelTarget } from "../core/types/IHubCardViewModel";
import { IHubSearchResult } from "../search/types/IHubSearchResult";
/**
 * given a target and hub search result, this util
 * returns a gallery card's title url
 *
 * @param result hub search result
 * @param target context the card should redirect to
 * @param baseUrl base url to work in conjunction with the target
 */
export declare function getCardModelUrlFromResult(result: IHubSearchResult, target: CardModelTarget, baseUrl?: string): string;
/**
 * given a target and hub entity, this util
 * returns a gallery card's title url
 *
 * @param entity hub entity
 * @param context auth & portal information
 * @param target context the card should redirect to
 * @param baseUrl base url to work in conjunction with the target
 */
export declare function getCardModelUrlFromEntity(entity: HubEntity, context: IArcGISContext, target: CardModelTarget, baseUrl?: string): string;
