import { GlossaristModel } from './base.js'; import { LocalizedConcept } from './localized-concept.js'; import type { LocalizedConceptJson } from './localized-concept.js'; import { RelatedConcept } from './related-concept.js'; import type { RelatedConceptJson } from './related-concept.js'; import { AbstractHyperedge } from './abstract-hyperedge.js'; import { ConceptReference } from './concept-reference.js'; import type { ConceptReferenceJson } from './concept-reference.js'; import { ConceptDate } from './concept-date.js'; import type { ConceptDateJson } from './concept-date.js'; import { ConceptSource } from './concept-source.js'; import type { ConceptSourceJson } from './concept-source.js'; import { FigureReference } from './non-verbal-references.js'; import { TableReference } from './non-verbal-references.js'; import { FormulaReference } from './non-verbal-references.js'; export interface ConceptJson { id?: string; termid?: string; term?: string | null; uri?: string | null; localizations?: Record; related?: ReadonlyArray; relatedConcepts?: ReadonlyArray; related_concepts?: ReadonlyArray; relations?: ReadonlyArray; domains?: ReadonlyArray; groups?: ReadonlyArray; sections?: ReadonlyArray; tags?: ReadonlyArray; dates?: ReadonlyArray; sources?: ReadonlyArray; figures?: ReadonlyArray; tables?: ReadonlyArray; formulas?: ReadonlyArray; status?: string | null; schemaVersion?: string; schema_version?: string; raw?: unknown; [key: string]: unknown; } export declare class Concept extends GlossaristModel { static get DIFF_FIELDS(): ReadonlyArray; static wireNameFor(field: string): string; readonly id: string; readonly term: string | null; readonly uri: string | null; private readonly _rawLocalizations; private _cache; readonly relatedConcepts: ReadonlyArray; relations: ReadonlyArray; readonly domains: ReadonlyArray; readonly groups: ReadonlyArray; readonly sections: ReadonlyArray; readonly tags: ReadonlyArray; readonly dates: ReadonlyArray; readonly sources: ReadonlyArray; private readonly _rawFigures; private readonly _rawTables; private readonly _rawFormulas; private _figures; private _tables; private _formulas; readonly status: string | null; readonly schemaVersion: string; readonly raw: unknown; constructor(data?: ConceptJson); get termid(): string; get languages(): string[]; get languageCodes(): string[]; localization(lang: string): LocalizedConcept | undefined; diff(other: Concept, language?: string): unknown; primaryDesignation(lang: string): unknown; definition(lang: string): unknown; setLocalization(lang: string, lc: LocalizedConcept | LocalizedConceptJson): this; hasLocalization(lang: string): boolean; findSourceById(id: string): ConceptSource | null; get figures(): ReadonlyArray; get tables(): ReadonlyArray; get formulas(): ReadonlyArray; walkTexts(): Generator<{ text: string; source: string; language?: string; }>; toJSON(): ConceptJson; static fromJSON(data: ConceptJson): Concept; } //# sourceMappingURL=concept.d.ts.map