import WidgetBase from '@dojo/framework/core/WidgetBase';
import I18nMixin from '@dojo/framework/core/mixins/I18n';
import ThemedMixin from '@dojo/framework/core/mixins/Themed';
import { DNode } from '@dojo/framework/core/interfaces';
import { GridPages, ColumnConfig, SelectionType } from './interfaces';
export interface BodyProperties<S> {
    /** The total number of rows */
    totalRows?: number;
    /** The number of elements to a page */
    pageSize: number;
    /** A list of paginated grids */
    pages: GridPages<S>;
    /** The height (in pixels) */
    height: number;
    /** The width (in pixels) */
    width?: number;
    /** Configuration for grid columns (id, title, properties, and custom renderer) */
    columnConfig: ColumnConfig[];
    /** Custom renderer for the placeholder row used while data is loaded */
    placeholderRowRenderer?: (index: number) => DNode;
    /** Used to fetch additional pages of information */
    fetcher: (page: number, pageSize: number) => void;
    /** Called when a cell is updated */
    updater: (page: number, rowNumber: number, columnId: string, value: string) => void;
    /** Called when the page changes */
    pageChange: (page: number) => void;
    /** Handler for scroll events */
    onScroll?: (value: number) => void;
    /** Calculated column widths */
    columnWidths?: {
        [index: string]: number;
    };
    /** handler for row selection */
    onRowSelect?: (index: number, type: SelectionType) => void;
    /** array of selected rows */
    selectedRows?: number[];
}
declare const Body_base: import("@dojo/framework/core/interfaces").Constructor<ThemedMixin<unknown>> & typeof WidgetBase & import("@dojo/framework/core/interfaces").Constructor<I18nMixin>;
export default class Body<S> extends Body_base<BodyProperties<S>> {
    private _rowHeight;
    private _rowsInView;
    private _renderPageSize;
    private _start;
    private _end;
    private _resetScroll;
    private _defaultPlaceholderRow;
    private _updater;
    private _onScroll;
    protected _onDiffTotalRows(): void;
    private _renderRows;
    protected render(): DNode;
}
export {};
