import type { IndexedRecord, NumStr, strings } from "../../../types"; import type { RawDefinition, Rules, WordInfo } from "./core"; import type { Definitions } from "./Definition.internal"; import type { lang } from "../../../facades"; export declare class Definition { /** * Creates class instance. * @param raw - Raw definition. * @param id - ID. */ constructor(raw: RawDefinition, id: NumStr); /** * Returns word based on context, count, and replacements. * @param owner - Parent object. * @param context - Context. * @param count - Count for plural form. * @param replacements - Replacements. * @param forms - Candidate word forms. * @returns Word. */ get(owner: Definitions, context: lang.Context | undefined, count: number, replacements: ReadonlyMap, forms: strings): WordInfo; protected readonly contexts: IndexedRecord; protected readonly id: NumStr; protected readonly rulesRef: Rules; protected readonly rulesRefDependent: Rules; protected readonly rulesRefSecondary: Rules; protected readonly rulesVal: Rules; protected readonly rulesWordDependent: Rules; protected readonly rulesWordSecondary: Rules; protected readonly sub?: Definition | undefined; protected readonly subs: IndexedRecord; protected readonly value: string; } //# sourceMappingURL=Definition.d.ts.map