@jorsek/ezd-client
Version:
19 lines (18 loc) • 847 B
TypeScript
import { INavTree, IPageContent, ISection } from "../Types";
import { Resource } from "./Resource";
export declare class Content extends Resource {
private nav_tree_cache;
getPageTitle(): Promise<string>;
getBannerText(): Promise<string[]>;
getSectionsAndVersions(): Promise<string>;
getSections(path?: string): Promise<ISection[]>;
getAllGroups(): Promise<Record<string, ISection>>;
getNamedGroup(group_name: string): Promise<ISection[]>;
getContentForResourceId(resource_id: string): Promise<IPageContent>;
getRedirect(path: string): Promise<string>;
getContent(path?: string, audiences?: string[]): Promise<IPageContent>;
getPrintContent(path?: string, audiences?: string[]): Promise<string>;
clearNavTreeCache(): void;
getNavTree(path: string): Promise<INavTree>;
private fixMetadata;
}