@launchmenu/applet-dictionary
Version:
An applet to find dictionary definitions
15 lines • 608 B
TypeScript
import { DataCacher, IDataHook } from "model-react";
import { WiktionarySection } from "./baseSections/WiktionarySection";
import { IWordTypeDefinition } from "./_types/IWordTypeDefinition";
/**
* A wiktionary section that contains a definition type
*/
export declare class WiktionaryDefinition extends WiktionarySection {
protected definition: DataCacher<IWordTypeDefinition>;
/**
* Retrieves the definition
* @param hook The hook to subscribe to changes
*/
getDefinition(hook?: IDataHook): IWordTypeDefinition;
}
//# sourceMappingURL=WiktionaryDefinition.d.ts.map