import { GlossaristModel } from './base.js'; import { Citation } from './citation.js'; /** * Local Citation wire-shape alias. Until `citation.ts` lands (Phase * 2b), Citation is untyped JS; this alias gives the cross-references * a typed shape without forcing the conversion order. When * `citation.ts` exports its own `CitationJson`, replace this with * `import type { CitationJson } from './citation.js'`. */ export interface CitationJson { ref?: { source?: string | null; id?: string | null; text?: string | null; } | null; } export interface ConceptSourceJson { id?: string | null; status?: string | null; type?: string | null; origin?: CitationJson | Citation | null; modification?: string | null; sourcedFrom?: ReadonlyArray | null; sourced_from?: ReadonlyArray | null; } export declare class ConceptSource extends GlossaristModel { readonly id: string | null; readonly status: string | null; readonly type: string | null; readonly origin: Citation | null; readonly modification: string | null; readonly sourcedFrom: ReadonlyArray; constructor(data?: ConceptSourceJson); /** * Backward-compat alias for callers using the snake_case JS field * name. Prefer `.sourcedFrom` going forward; the wire name remains * `sourced_from` (see toJSON). */ get sourced_from(): ReadonlyArray; toJSON(): ConceptSourceJson; static identityOf(value: { type?: string | null; origin?: CitationJson | Citation | { ref?: { source?: string; id?: string; } | null; } | null; } | null | undefined): string; identity(): string; static fromJSON(data: ConceptSourceJson): ConceptSource; } //# sourceMappingURL=concept-source.d.ts.map