@launchmenu/applet-dictionary
Version:
An applet to find dictionary definitions
21 lines • 774 B
TypeScript
import { DataCacher } from "model-react";
import { WiktionarySection } from "./baseSections/WiktionarySection";
import { WiktionaryDefinition } from "./WiktionaryDefinition";
/**
* A wiktionary section that contains all definitions for 1 given language
*/
export declare class WiktionaryLanguage extends WiktionarySection {
/** The word definitions in this language */
protected definitions: DataCacher<WiktionaryDefinition[]>;
/**
* Retrieves the language this section is for
* @returns The language
*/
getLanguage(): string;
/**
* Retrieves the definitions in this language
* @returns The definitions
*/
getDefinitions(): WiktionaryDefinition[];
}
//# sourceMappingURL=WiktionaryLanguage.d.ts.map