import * as React from 'react'; import { ListIteratee } from 'lodash'; import { loadAnswer, changeColumnPosition, changeVisibleColumns, changeSorting, Sorting } from '../Actions/AnswerActions'; import { State } from '../StoreModules/AnswerViewStoreModule'; import { AttributeField, AttributeValue, RecordInstance, RecordClass } from '../Utils/WdkModel'; import { History } from 'history'; declare const ActionCreators: { loadAnswer: typeof loadAnswer; changeColumnPosition: typeof changeColumnPosition; changeVisibleColumns: typeof changeVisibleColumns; changeSorting: typeof changeSorting; }; declare type StateProps = State; declare type DispatchProps = typeof ActionCreators; interface CellContentProps { value: AttributeValue; attribute: AttributeField; record: RecordInstance; recordClass: RecordClass; } interface RenderCellProps extends CellContentProps { CellContent: React.ComponentType; } interface RowClassNameProps { record: RecordInstance; recordClass: RecordClass; } interface TableAction { key: string; display: React.ReactNode; } declare type Options = { renderCellContent?: (props: RenderCellProps) => React.ReactNode; deriveRowClassName?: (props: RowClassNameProps) => string | undefined; customSortBys?: Record[]>; additionalActions?: TableAction[]; }; declare type OwnProps = { recordClass: string; question: string; parameters?: Record; filterTerm?: string; filterAttributes?: string[]; filterTables?: string[]; history: History; }; export declare type Props = { stateProps: StateProps; dispatchProps: DispatchProps; ownProps: OwnProps; } & Options; export declare const DEFAULT_PAGINATION: { numRecords: number; offset: number; }; export declare const DEFAULT_SORTING: Sorting[]; declare const _default: import("react-redux").ConnectedComponent, Pick> & { stateProps: Partial; dispatchProps: { loadAnswer: typeof loadAnswer; changeColumnPosition: typeof changeColumnPosition; changeVisibleColumns: typeof changeVisibleColumns; changeSorting: typeof changeSorting; }; ownProps: OwnProps; } & Options, "ref" | "key" | "additionalActions" | "renderCellContent" | "deriveRowClassName" | "customSortBys"> & OwnProps>; export default _default; //# sourceMappingURL=AnswerController.d.ts.map