UNPKG

@launchmenu/applet-dictionary

Version:
34 lines 1.33 kB
import { WikiPage } from "../../wiki/WikiPage"; import { WikiSection } from "../../wiki/WikiSection"; import { IWikiSectionInfo } from "../../wiki/_types/IWikiSectionInfo"; import { WiktionaryReferences } from "./WiktionaryReferences"; import { WiktionarySeeAlso } from "./WiktionarySeeAlso"; import { WiktionaryUsageNotes } from "./WiktionaryUsageNotes"; /** * The standard class for sections in the wiktionary */ export declare class WiktionarySection extends WikiSection { /** * Creates a new local model of a wikipage section * @param page The page that this section is a part of * @param info The section info * @param subsections The ids of child sections */ constructor(page: WikiPage, info: IWikiSectionInfo, subsections?: WikiSection[]); /** * Retrieves the references for this section * @returns The references if present */ getReferences(): WiktionaryReferences | null; /** * Retrieves the usage notes for this section * @returns The usage notes if present */ getUsageNotes(): WiktionaryUsageNotes | null; /** * Retrieves the 'see also' for this section * @returns The 'see also' if present */ getSeeAlso(): WiktionarySeeAlso | null; } //# sourceMappingURL=WiktionarySection.d.ts.map