import { IArcGISContext } from "../types/IArcGISContext"; import { Layout, TLayouts } from "./types"; import { HubEntity } from "../core/types/HubEntity"; import { IWithVersions } from "../core/traits/IWithVersions"; /** * Fetches the "current version" layouts for a given Hub entity. * * Note: this function assumes that layout versions are stored * as resources on the underlying entity and that pointers to * these resources are stored somewhere on the entity (e.g. * properties.currentVersions for portal-backed entities). * * @param entity - the Hub entity for which to fetch layouts * @param context - contextual portal and auth information */ export declare function fetchHubEntityLayouts(entity: HubEntity & IWithVersions, context: IArcGISContext): Promise>;