import { LocationDescriptor } from 'history';
import React, { PropsWithChildren } from 'react';
import { Data } from '../../../types/data';
import { ActionData } from '../../Actions/Actions.models';
import { Column, ListSelectMode } from '../List.model';
export interface ListRowProps<T extends Data> {
    /** Spacing between columns */
    columnSizes: string;
    /** Header row height */
    columnGap: string;
    /** List row height */
    rowHeight?: string;
    /** Size of action button and checkbox */
    actionSize: string;
    /** Horizontal alignment of text (default: left) */
    horizontalTextAlign?: 'left' | 'right' | 'center';
    /** Vertical alignment of text (default: right) */
    verticalTextAlign?: 'start' | 'center' | 'end';
    /** If set to true, column text overflow will be wrapped to a new line. Otherwise, it will be truncated with an ellipsis (default: false) */
    textWrap?: boolean;
    /** List data */
    data: T;
    /** The column definition */
    columns: Column<T>[];
    /** Whether or not the item is selected (default: false) */
    itemSelected?: boolean;
    /** Determines which selection mode the list is in. (default: ListSelectMode.None) */
    selectionMode?: ListSelectMode;
    /** Defines whether an action button will be rendered (default: true) */
    showActionButton?: boolean;
    /** Defines whether a check mark action button will be rendered (default: true) */
    showCheckMark?: boolean;
    /** Defines whether a checkbox for each item should be rendered (default: false) */
    showItemCheckbox?: boolean;
    /** Defines whether a row is disabled (default: false) */
    isRowDisabled?: boolean;
    /** Used for when a row is clicked. This can be either a callback function that will be executed
     * or a URL where the user should be navigated to.
     * When the list should navigate the user to e.g. a details page of a entry it is recommended to
     * directly pass the URL here instead of a callback function that does the routing in JavaScript. */
    onItemClicked?: LocationDescriptor<unknown> | ((data: T) => void);
    /**
     * A function that is getting called, when the selection state of the row changes.
     */
    onItemSelected?: (checked: boolean) => void;
    /** Provide inline actions which are available through '...' context menu */
    inlineMenuActions?: (data: T) => ActionData[];
}
export declare const setLocale: (locale: string) => void;
export declare const ListRow: <T extends Data>(props: PropsWithChildren<ListRowProps<T>> & {
    ref?: React.Ref<HTMLDivElement>;
}) => JSX.Element;
//# sourceMappingURL=ListRow.d.ts.map