import { DetailedDefinition, TermInformation } from '../types/yomitan/termbank'; export declare class TermEntry { term: string; reading: string | undefined; definitionTags: string | null | undefined; deinflectors: string | undefined; popularity: number | undefined; detailedDefinitions: DetailedDefinition[]; sequenceNumber: number | undefined; termTags: string | undefined; /** * Represents a term entry. * @param term The term to be added to the dictionary. */ constructor(term: string); /** * Sets the term. * @param term The term to be changed to. */ setTerm(term: string): this; /** * Sets the reading of the term. * @param reading The reading of the term. */ setReading(reading: string): this; /** * Sets the definition tags of the term. * @param definitionTags The definition tags of the term. */ setDefinitionTags(definitionTags: string): this; /** * Sets the deinflectors of the term. * @param deinflectors The deinflectors of the term. */ setDeinflectors(deinflectors: string): this; /** * Sets the popularity of the term. * @param popularity The popularity of the term. */ setPopularity(popularity: number): this; /** * Adds a definition to the term. * @param definition The definition to add to the term. */ addDetailedDefinition(definition: DetailedDefinition): this; /** * Adds multiple definitions to the term. * @param definitions The definitions to add to the term. */ addDetailedDefinitions(definitions: DetailedDefinition[]): this; /** * Sets the sequence number of the term. * @param sequenceNumber The sequence number of the term. */ setSequenceNumber(sequenceNumber: number): this; /** * Sets the term tags of the term. * @param termTags The term tags of the term. */ setTermTags(termTags: string): this; /** * Builds the term entry. */ build(): TermInformation; }