import { IHubRequestOptions } from "../hub-types";
import { HubActionLink, IHubContentActionLink } from "./types/ActionLinks";
/**
 * Given an array of IHubActionLinks, the following util will
 * "pre-process" the action links. This includes:
 *
 * 1. For kind = "content": Fetching the content item, grabbing
 * its site relative href, and transforming the link into an
 * external action link that can be consumed in the UI
 *
 * Note: we can add other pre-processing as necessary
 *
 * @param links hub action links
 * @param requestOptions hub request options
 */
export declare function processActionLinks(links: HubActionLink[], requestOptions: IHubRequestOptions): Promise<Array<Exclude<HubActionLink, IHubContentActionLink>>>;
/**
 * Given a single IHubActionLink, the following util will
 * "pre-process" the action link. This includes:
 *
 * 1. For kind = "content": Fetching the content item, grabbing
 * its site relative href, and transforming the link into an
 * external action link that can be consumed in the UI
 *
 * Note: we can add other pre-processing as necessary
 *
 * @param link hub action link
 * @param requestOptions hub request options
 */
export declare function processActionLink(link: HubActionLink, requestOptions: IHubRequestOptions): Promise<Exclude<HubActionLink, IHubContentActionLink>>;
