import { ItemValue, MatrixRowModel, Question, QuestionCheckboxModel, QuestionCompositeModel, QuestionCustomModel, QuestionDropdownModel, QuestionFileModel, QuestionMatrixDropdownModel, QuestionMatrixDynamicModel, QuestionMatrixModel, QuestionPanelDynamicModel, QuestionRadiogroupModel, QuestionSelectBase, QuestionTagboxModel } from "survey-core"; import { ICellData, IColumn, ColumnDataType, QuestionLocation, IColumnData } from "./config"; import { ITableOptions, ITable } from "./table-interfaces"; export declare class BaseColumn implements IColumn { protected question: T; protected table: ITable; dataType: ColumnDataType; isVisible: boolean; isPublic: boolean; location: QuestionLocation; width?: string | number; visibleIndex?: number; isComment?: boolean; private nameValue; private displayNameValue?; private parentQuestions; constructor(question: T, table: ITable); protected updateWhenQuestionIsReady(question: Question, table: ITable): void; get name(): string; set name(val: string); get displayName(): string; set displayName(val: string); addParentQuestion(parentQuestion: Question): void; protected getDisplayNamePrefix(): string; protected processText(text: string): string; protected getQuestionDisplayName(question: Question): string; protected getDisplayName(): string; protected getName(): string; protected getDataType(): ColumnDataType; protected getDisplayValueCore(data: any): any; protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any; private formatDisplayValue; getCellData(table: ITable, data: any): ICellData; toJSON(): IColumnData; fromJSON(data: IColumnData): void; } export declare class DefaultColumn extends BaseColumn { protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any; } export declare class SelectBaseColumn extends BaseColumn { protected get isOtherInSeparateColumn(): boolean; protected getItemDisplayText(item: ItemValue, options: ITableOptions): string; protected getDisplayValue(data: any, table: ITable, options: ITableOptions): string; } export declare class CheckboxColumn extends SelectBaseColumn { protected getDisplayValue(data: any, table: ITable, options: ITableOptions): string; } export declare class FlattenedCheckboxColumn extends BaseColumn { private choiceValue; private choiceText; constructor(question: QuestionCheckboxModel | QuestionTagboxModel, choiceValue: any, choiceText: string, table: ITable); protected getDataType(): ColumnDataType; protected getName(): string; protected getDisplayName(): string; protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any; } export declare class SingleChoiceColumn extends SelectBaseColumn { protected getDisplayValue(data: any, table: ITable, options: ITableOptions): string; } export declare class CommentColumn extends BaseColumn { protected getName(): string; protected getDisplayName(): string; protected getDisplayValue(data: any, table: ITable, options: ITableOptions): string; } export declare class OtherColumn extends CommentColumn { protected getDisplayName(): string; } export declare class MatrixColumn extends BaseColumn { private row; private valueName; private valuePath; constructor(question: QuestionMatrixModel, row: MatrixRowModel, table: ITable); protected getName(): string; protected getDisplayName(): string; protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any; } export declare class ImageColumn extends BaseColumn { protected getDataType(): ColumnDataType; } export declare class FileColumn extends BaseColumn { protected getDataType(): ColumnDataType; protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any; } export declare class MatrixDropdownColumn extends BaseColumn { protected row: any; protected col: any; private rowValue; private colName; constructor(question: QuestionMatrixDropdownModel, row: any, col: any, table: ITable); protected getName(): string; protected getDisplayName(): string; protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any; } export declare class CustomQuestionColumn extends BaseColumn { constructor(question: QuestionCustomModel, table: ITable); } export declare class CompositeQuestionColumn extends BaseColumn { constructor(question: QuestionCompositeModel, table: ITable); } export declare class MatrixDynamicColumn extends BaseColumn { protected getDataType(): ColumnDataType; protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any; getCellData(table: ITable, data: any): ICellData; } export declare class PanelDynamicColumn extends BaseColumn { protected getDataType(): ColumnDataType; protected getDisplayValue(data: any, table: ITable, options: ITableOptions): any; getCellData(table: ITable, data: any): ICellData; }