/** @import { Level1ComponentSpec } from "../../level1/component/Level1Component.mjs" */ /** @import { CalendarUnit } from "../../calendar/unit/CalendarUnit.mjs" */ /** * @typedef {Level1ComponentSpec} Level2ComponentSpec * @property {boolean} [uncertainComponent] * @property {boolean} [approximateComponent] */ export class Level2Component extends Level1Component { /** * @readonly * @type boolean */ readonly uncertainComponent: boolean; /** * @readonly * @type boolean */ readonly approximateComponent: boolean; /** * @return {boolean} Whether the component is uncertain at the group level only (the qualification follows it, or a component after it is qualified). */ get uncertainGroup(): boolean; /** * @return {boolean} Whether the component is approximate at the group level only (the qualification follows it, or a component after it is qualified). */ get approximateGroup(): boolean; toSpec(): { uncertain: boolean; approximate: boolean; uncertainComponent: boolean; approximateComponent: boolean; unit: CalendarUnit; }; toJSON(): { uncertain: boolean; approximate: boolean; uncertainComponent: boolean; approximateComponent: boolean; unit: CalendarUnit; }; } export type Level2ComponentSpec = Level1ComponentSpec; import { Level1Component } from "../../level1/component/Level1Component.mjs"; import type { CalendarUnit } from "../../calendar/unit/CalendarUnit.mjs"; import type { Level1ComponentSpec } from "../../level1/component/Level1Component.mjs"; //# sourceMappingURL=Level2Component.d.mts.map