import { BaseSectionDefinition, BaseSectionDefinitionOptions } from './BaseSectionDefinition.js'; import { SectionType } from './SectionTypeEnum.js'; /** * Options for initializing a FieldSubSectionDefinition. */ export interface FieldSubSectionDefinitionOptions extends BaseSectionDefinitionOptions { /** * Indicates if the data generator (tdg) column is mandatory. * Default is false. */ tdgMandatory?: boolean; /** * Indicates if the sub-section must have at least one value. * Default is true. */ mandatory?: boolean; /** * The ID of the parent section. */ parent: string; } /** * Represents a sub-section within a FieldSectionDefinition. * * A FieldSubSectionDefinition defines the details for a specific field, * including its equivalence class entries, comments, and data generator (tdg) values. */ export declare class FieldSubSectionDefinition extends BaseSectionDefinition { /** * The section type is set to FIELD_SUB_SECTION. */ sectionType: SectionType; /** * Stores the equivalence class entries indexed by their row ID. */ equivalenceClasses: Record; /** * Stores the comments indexed by their row ID. */ comments: Record; /** * Stores the data generator (tdg) entries indexed by their row ID. */ tdgs: Record; /** * Indicates if the data generator column is mandatory. * Default is false. */ tdgMandatory: boolean; /** * The ID of the parent section. */ parent: string; /** * Getter for the data row IDs of this sub-section. * @returns An array of row IDs. */ get dataRows(): string[]; /** * Setter for the data row IDs of this sub-section. * @param value - The new array of row IDs. */ set dataRows(value: string[]); /** * Constructs a new FieldSubSectionDefinition. * * Initializes the sub-section with the specified parent section ID, and configures * whether the sub-section is mandatory and if the tdg field is mandatory. * * @param opts - Options for initializing the FieldSubSectionDefinition. */ constructor(opts: FieldSubSectionDefinitionOptions); /** * Validates this sub-section definition. * * Validation rules: * - If tdgMandatory is true, each row must have a defined tdg value. * - Each row must have a defined equivalence class value. * - Equivalence class values must be unique within the sub-section. * * @returns An array of validation issues found. */ validate(): import("../index.js").SectionErrorInterface[]; } //# sourceMappingURL=FieldSubSectionDefinition.d.ts.map