/** * Fluid Topics API client * * Pure HTTP client for the Fluid Topics platform on learn.jamf.com. * Stateless — no caching, no business logic, no provider fallback. * All functions map 1:1 to FT REST API endpoints. */ import type { FtClusteredSearchResponse, FtSearchRequest, FtMapInfo, FtTocNode, FtTopicInfo } from '../types.js'; /** * POST /api/khub/clustered-search * * Primary search endpoint. Returns clusters of results grouped by topic, * each cluster may contain multiple version entries. */ export declare function search(request: FtSearchRequest): Promise; /** * GET /api/khub/maps * * Returns all publications (~577 maps across all locales and versions). * Each map includes metadata with version_bundle_stem, version, * latestVersion, ft:locale, etc. */ export declare function fetchMaps(): Promise; /** * GET /api/khub/maps/{mapId}/toc * * Returns the full table of contents as a JSON tree. * The response is either a single root node or an array of root nodes. */ export declare function fetchMapToc(mapId: string): Promise; /** * GET /api/khub/maps/{mapId}/topics * * Returns a flat list of all topics in a map. * Richer than TOC: includes readerUrl, breadcrumb, and full metadata. */ export declare function fetchMapTopics(mapId: string): Promise; /** * GET /api/khub/maps/{mapId}/topics/{contentId}/content * * Returns the HTML content of a single topic. * Always returns text/html regardless of Accept header. */ export declare function fetchTopicContent(mapId: string, contentId: string): Promise; /** * GET /api/khub/maps/{mapId}/topics/{contentId} * * Returns topic metadata including title, contentApiEndpoint, * and all metadata key-value pairs. */ export declare function fetchTopicMetadata(mapId: string, contentId: string): Promise; //# sourceMappingURL=ft-client.d.ts.map